#1D3E8D#1D3E8D

#1D3E8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.137 H 264.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1D3E8D
RGBrgb(29, 62, 141)
HSLhsl(222, 66%, 33%)
HSVhsv(222, 79%, 55%)
CMYKcmyk(79.4%, 56%, 0%, 44.7%)
CIE-LABlab(28.46, 18.32, -47.29)
CIE-LCHlch(28.46, 50.71, 291.17°)
OKLaboklab(38.98% -0.0144 -0.1364)
OKLCHoklch(38.98% 0.137 264)
XYZxyz(7.0353, 5.6287, 25.9098)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E8D #8D6C1D
analogous
#1D768D #1D3E8D #341D8D
triadic
#1D3E8D #8D1D3E #3E8D1D
tetradic
#1D3E8D #8D1D76 #8D6C1D #1D8D34
square
#1D3E8D #8D1D76 #8D6C1D #1D8D34
split-complementary
#1D3E8D #8D341D #768D1D
monochromatic
#081127 #13285A #1D3E8D #2754C0 #4B75DA

Accessibility & contrast

On white

9.88
#1D3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3E8D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E8D#FFFFFF#000000##FFFFFF
##1D3E8D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3e8d;
/* rgb */ color: rgb(29, 62, 141);
/* oklch */ color: oklch(39.0% 0.137 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c72af',
    500: '#1d3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e8d;
$custom-light: #6c72af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e8d",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 222.321,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.13713,
    "h": 264
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#1D3E8D
secondary
#BC9A4A
accent
#B73FE9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1D3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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