#1D417E#1D417E

#1D417E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.112 H 260.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1D417E
RGBrgb(29, 65, 126)
HSLhsl(218, 63%, 30%)
HSVhsv(218, 77%, 49%)
CMYKcmyk(77%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.24, 10.16, -38.32)
CIE-LCHlch(28.24, 39.64, 284.86°)
OKLaboklab(38.46% -0.0189 -0.1099)
OKLCHoklch(38.46% 0.112 260.3)
XYZxyz(6.1615, 5.5475, 20.4807)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D417E #7E5A1D
analogous
#1D717E #1D417E #291D7E
triadic
#1D417E #7E1D41 #417E1D
tetradic
#1D417E #7E1D71 #7E5A1D #1D7E29
square
#1D417E #7E1D71 #7E5A1D #1D7E29
split-complementary
#1D417E #7E291D #717E1D
monochromatic
#060E1B #12274C #1D417E #285BB0 #4278D3

Accessibility & contrast

On white

9.95
#1D417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1D417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D417E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D417E#FFFFFF#000000##FFFFFF
##1D417E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#083E7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d417e;
/* rgb */ color: rgb(29, 65, 126);
/* oklch */ color: oklch(38.5% 0.112 260.3);
Tailwind
colors: {
  custom: {
    50: '#6875a4',
    500: '#1d417e',
    950: '#000000',
  },
}
SCSS
$custom: #1d417e;
$custom-light: #6875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d417e",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 217.732,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.11152,
    "h": 260.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#1D417E
secondary
#B18945
accent
#A942E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1D417E

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

Preview Lab → · Contrast checker → · Palette generator →

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