#1D417A#1D417A

#1D417A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.106 H 259.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#1D417A
RGBrgb(29, 65, 122)
HSLhsl(217, 62%, 30%)
HSVhsv(217, 76%, 48%)
CMYKcmyk(76.2%, 46.7%, 0%, 52.2%)
CIE-LABlab(27.97, 8.54, -36.24)
CIE-LCHlch(27.97, 37.23, 283.26°)
OKLaboklab(38.17% -0.0196 -0.1038)
OKLCHoklch(38.17% 0.106 259.3)
XYZxyz(5.9086, 5.4463, 19.1484)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D417A #7A561D
analogous
#1D707A #1D417A #281D7A
triadic
#1D417A #7A1D41 #417A1D
tetradic
#1D417A #7A1D70 #7A561D #1D7A28
square
#1D417A #7A1D70 #7A561D #1D7A28
split-complementary
#1D417A #7A281D #707A1D
monochromatic
#060D19 #112749 #1D417A #295BAB #4078D2

Accessibility & contrast

On white

10.05
#1D417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D417A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D417A#FFFFFF#000000##FFFFFF
##1D417A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#113E79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d417a;
/* rgb */ color: rgb(29, 65, 122);
/* oklch */ color: oklch(38.2% 0.106 259.3);
Tailwind
colors: {
  custom: {
    50: '#6775a1',
    500: '#1d417a',
    950: '#000000',
  },
}
SCSS
$custom: #1d417a;
$custom-light: #6775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d417a",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 216.774,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38167,
    "c": 0.10564,
    "h": 259.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#1D417A
secondary
#AE8545
accent
#A643E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1D417A

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

Preview Lab → · Contrast checker → · Palette generator →

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