#1D418B#1D418B

#1D418B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.130 H 262.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1D418B
RGBrgb(29, 65, 139)
HSLhsl(220, 65%, 33%)
HSVhsv(220, 79%, 55%)
CMYKcmyk(79.1%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.17, 15.43, -44.89)
CIE-LCHlch(29.17, 47.47, 288.97°)
OKLaboklab(39.47% -0.0169 -0.1293)
OKLCHoklch(39.47% 0.13 262.5)
XYZxyz(7.0555, 5.9051, 25.1890)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D418B #8B671D
analogous
#1D788B #1D418B #301D8B
triadic
#1D418B #8B1D41 #418B1D
tetradic
#1D418B #8B1D78 #8B671D #1D8B30
square
#1D418B #8B1D78 #8B671D #1D8B30
split-complementary
#1D418B #8B301D #788B1D
monochromatic
#081226 #122958 #1D418B #2859BE #4978D9

Accessibility & contrast

On white

9.63
#1D418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D418B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D418B#FFFFFF#000000##FFFFFF
##1D418B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d418b;
/* rgb */ color: rgb(29, 65, 139);
/* oklch */ color: oklch(39.5% 0.130 262.5);
Tailwind
colors: {
  custom: {
    50: '#6b75ad',
    500: '#1d418b',
    950: '#000000',
  },
}
SCSS
$custom: #1d418b;
$custom-light: #6b75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d418b",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 220.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.13038,
    "h": 262.5
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#1D418B
secondary
#BB9649
accent
#B13FE8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D418B

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

Preview Lab → · Contrast checker → · Palette generator →

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