#1D417B#1D417B

#1D417B is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.107 H 259.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#1D417B
RGBrgb(29, 65, 123)
HSLhsl(217, 62%, 30%)
HSVhsv(217, 76%, 48%)
CMYKcmyk(76.4%, 47.2%, 0%, 51.8%)
CIE-LABlab(28.04, 8.95, -36.76)
CIE-LCHlch(28.04, 37.84, 283.68°)
OKLaboklab(38.24% -0.0194 -0.1053)
OKLCHoklch(38.24% 0.107 259.6)
XYZxyz(5.9708, 5.4712, 19.4764)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D417B #7B571D
analogous
#1D707B #1D417B #281D7B
triadic
#1D417B #7B1D41 #417B1D
tetradic
#1D417B #7B1D70 #7B571D #1D7B28
square
#1D417B #7B1D70 #7B571D #1D7B28
split-complementary
#1D417B #7B281D #707B1D
monochromatic
#060D19 #112749 #1D417B #295BAD #4078D2

Accessibility & contrast

On white

10.03
#1D417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1D417B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D417B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D417B#FFFFFF#000000##FFFFFF
##1D417B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d417b;
/* rgb */ color: rgb(29, 65, 123);
/* oklch */ color: oklch(38.2% 0.107 259.6);
Tailwind
colors: {
  custom: {
    50: '#6775a1',
    500: '#1d417b',
    950: '#000000',
  },
}
SCSS
$custom: #1d417b;
$custom-light: #6775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d417b",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 217.021,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.10711,
    "h": 259.6
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#1D417B
secondary
#AF8645
accent
#A743E5
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D417B

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

Preview Lab → · Contrast checker → · Palette generator →

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