#1D3E8E#1D3E8E

#1D3E8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.139 H 264.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1D3E8E
RGBrgb(29, 62, 142)
HSLhsl(222, 66%, 34%)
HSVhsv(222, 80%, 56%)
CMYKcmyk(79.6%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.53, 18.72, -47.78)
CIE-LCHlch(28.53, 51.31, 291.39°)
OKLaboklab(39.06% -0.0143 -0.1378)
OKLCHoklch(39.06% 0.139 264.1)
XYZxyz(7.1101, 5.6586, 26.3034)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E8E #8E6D1D
analogous
#1D768E #1D3E8E #341D8E
triadic
#1D3E8E #8E1D3E #3E8E1D
tetradic
#1D3E8E #8E1D76 #8E6D1D #1D8E34
square
#1D3E8E #8E1D76 #8E6D1D #1D8E34
split-complementary
#1D3E8E #8E341D #768E1D
monochromatic
#081228 #13285B #1D3E8E #2754C1 #4B75DA

Accessibility & contrast

On white

9.85
#1D3E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D3E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E8E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E8E#FFFFFF#000000##FFFFFF
##1D3E8E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3e8e;
/* rgb */ color: rgb(29, 62, 142);
/* oklch */ color: oklch(39.1% 0.139 264.1);
Tailwind
colors: {
  custom: {
    50: '#6c72b0',
    500: '#1d3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e8e;
$custom-light: #6c72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e8e",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 222.478,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.13854,
    "h": 264.1
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#1D3E8E
secondary
#BD9B4A
accent
#B73FE9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1D3E8E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1D3E8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva