#1D428E#1D428E

#1D428E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.133 H 262.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#1D428E
RGBrgb(29, 66, 142)
HSLhsl(220, 66%, 34%)
HSVhsv(220, 80%, 56%)
CMYKcmyk(79.6%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.69, 15.95, -45.91)
CIE-LCHlch(29.69, 48.60, 289.16°)
OKLaboklab(39.94% -0.0174 -0.1322)
OKLCHoklch(39.94% 0.133 262.5)
XYZxyz(7.3356, 6.1098, 26.3786)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D428E #8E691D
analogous
#1D7A8E #1D428E #301D8E
triadic
#1D428E #8E1D42 #428E1D
tetradic
#1D428E #8E1D7A #8E691D #1D8E30
square
#1D428E #8E1D7A #8E691D #1D8E30
split-complementary
#1D428E #8E301D #7A8E1D
monochromatic
#081328 #132A5B #1D428E #275AC1 #4B7ADA

Accessibility & contrast

On white

9.45
#1D428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D428E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D428E#FFFFFF#000000##FFFFFF
##1D428E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d428e;
/* rgb */ color: rgb(29, 66, 142);
/* oklch */ color: oklch(39.9% 0.133 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1d428e',
    950: '#000000',
  },
}
SCSS
$custom: #1d428e;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d428e",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 220.354,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.13337,
    "h": 262.5
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#1D428E
secondary
#BD974A
accent
#B13FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1D428E

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

Preview Lab → · Contrast checker → · Palette generator →

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