RAL Classic color

RAL 5012 Light blue #3B83BD

RAL 5012 Light blue is shown here as #3B83BD, a widely published sRGB approximation of the printed swatch. It is a soft blue in the blue family. In OKLCH it sits at lightness 0.591, chroma 0.114 and hue 245.8°. The nearest CSS named color is steelblue (#4682B4), ΔE2000 1.4 away.

Relative luminance
0.2084
OKLCH L · C · h
0.591 · 0.114 · 245.8
Best text
Black 5.16:1
Hue family
Blue

#3B83BD color codes

HEX
#3B83BD
RGB
rgb(59, 131, 189)
HSL
hsl(207, 52%, 49%)
OKLCH
oklch(0.591 0.114 245.8)
OKLab
oklab(0.591 -0.047 -0.104)
CIELAB (D65)
L* 52.77, a* -3.54, b* -36.91
XYZ (D65)
X 19.10, Y 20.83, Z 51.15
CMYK (naive)
cmyk(69%, 31%, 0%, 26%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #3B83BD accessible?

Black text on it reaches 5.16:1, passing AA. White text manages only 4.06:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    5.16:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +36
  • White text on it

    4.06:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −73
  • As text on black

    5.16:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −34
  • As text on white

    4.06:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +67

Nearest versions that pass 4.5:1

  • For text on white

    #337BB5 4.52:1

    Darkening its OKLCH lightness from 0.59 to 0.57 reaches 4.52:1 on white, keeping the hue.

  • For text on black

    #3B83BD 5.16:1

    It already reaches 5.16:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #3B83BD live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #3B83BD

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #3B83BD sits at step 500.

  1. 50#EDF6FF
    White
    1.09
    Black
    19.22
  2. 100#DBEEFF
    White
    1.18
    Black
    17.68
  3. 200#B6DCFF
    White
    1.43
    Black
    14.67
  4. 300#82C5FF
    White
    1.84
    Black
    11.37
  5. 400#62A8E3
    White
    2.55
    Black
    8.22
  6. 500This color#3B83BD
    White
    4.06
    Black
    5.16
  7. 600#2B74AC
    White
    5.00
    Black
    4.19
  8. 700#0F5C92
    White
    7.07
    Black
    2.96
  9. 800#00436E
    White
    10.35
    Black
    2.02
  10. 900#002B4A
    White
    14.53
    Black
    1.44
  11. 950#00172C
    White
    18.12
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #3B83BD can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.151; #3B83BD uses 76% of it. Display P3, which many recent phones and laptops show, reaches 0.197 there: 30% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.114
sRGB edge
0.151
Display P3 edge
0.197
Rec. 2020 edge
0.259
Dominant wavelength
478 nm
Excitation purity
48%
Chromaticity
x 0.2097, y 0.2287
  • This color#3B83BD
  • Most vivid in sRGB#0083D1
  • Most vivid in Display P3oklch(0.591 0.197 245.8)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #3b83bd;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0 0.4978 0.8837); }
}

Mixing

Mixing #3B83BD

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#9DC1DE
  • OKLab50%#9FC1DF
  • OKLCH50%#9FC1DF

Black #000000

  • sRGB50%#1E425F
  • OKLab50%#112F47
  • OKLCH50%#112F47

Its complement #AB6E26

  • sRGB50%#737972
  • OKLab50%#7D7D7D
  • OKLCH50%#389160
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #3b83bd, white);
color: color-mix(in oklch, #3b83bd 50%, white);

In use

#3B83BD in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.16:1 Passes
  • Link and body-size textText, 4.5:14.06:1 Fails
  • Large headingLarge text, 3:14.06:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.06:1 Passes

For text on this page, the nearest shade that passes is #337BB5 4.52:1

Dark page

  • Button labelText, 4.5:15.16:1 Passes
  • Link and body-size textText, 4.5:14.60:1 Passes
  • Large headingLarge text, 3:14.60:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.60:1 Passes

Color vision

How #3B83BD looks with color blindness

Achromatopsia changes it most, ΔE2000 20.3; deuteranopia changes it least, 7.8.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #6985C0 ΔE2000 8.5

    Noticeable

    Reads as muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #5778BC ΔE2000 7.8

    Noticeable

    Reads as soft blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #009198 ΔE2000 19.4

    Distinct

    Reads as soft cyan

  • Achromatopsia

    No cone color vision; lightness only

    #7E7E7E ΔE2000 20.3

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #AB6E26. Their lightness contrast is only 1.03:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#3B83BD · #AB6E2644.4Stays distinct
Protanopia#6985C0 · #82731C47.4Stays distinct
Deuteranopia#5778BC · #90812749.9Stays distinct
Tritanopia#009198 · #BB605F47.7Stays distinct
Achromatopsia#7E7E7E · #7B7B7B1.2Easily confused

Harmony

Color harmonies for #3B83BD

Its complement is #AB6E26, a soft orange, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#3B83BD
  • Complement#AB6E26

Complementary

Open in Harmony Studio
  • −30°#008CA5
  • Base#3B83BD
  • +30°#6B76C1
  • Base#3B83BD
  • +120°#B55E73
  • +240°#6D8937
  • Base#3B83BD
  • +150°#B7624C
  • +210°#927C17

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-5012: #3b83bd;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-5012': '#3b83bd',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-5012: oklch(0.591 0.114 245.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-5012": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.2314, 0.5137, 0.7412],
        "hex": "#3b83bd"
      },
      "$description": "RAL 5012 Light blue (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral5012 = Color(.sRGB, red: 0.231, green: 0.514, blue: 0.741, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral5012 = Color(0xFF3B83BD)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #3B83BD in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.