#1D428F#1D428F

#1D428F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.135 H 262.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1D428F
RGBrgb(29, 66, 143)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(79.7%, 53.8%, 0%, 43.9%)
CIE-LABlab(29.76, 16.35, -46.40)
CIE-LCHlch(29.76, 49.20, 289.42°)
OKLaboklab(40.02% -0.0173 -0.1337)
OKLCHoklch(40.02% 0.135 262.6)
XYZxyz(7.4111, 6.1400, 26.7758)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D428F #8F6A1D
analogous
#1D7B8F #1D428F #311D8F
triadic
#1D428F #8F1D42 #428F1D
tetradic
#1D428F #8F1D7B #8F6A1D #1D8F31
square
#1D428F #8F1D7B #8F6A1D #1D8F31
split-complementary
#1D428F #8F311D #7B8F1D
monochromatic
#081329 #132B5C #1D428F #2759C2 #4C7ADB

Accessibility & contrast

On white

9.42
#1D428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D428F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D428F#FFFFFF#000000##FFFFFF
##1D428F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d428f;
/* rgb */ color: rgb(29, 66, 143);
/* oklch */ color: oklch(40.0% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1d428f',
    950: '#000000',
  },
}
SCSS
$custom: #1d428f;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d428f",
  "rgb": {
    "r": 29,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 220.526,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.13479,
    "h": 262.6
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#1D428F
secondary
#BD984B
accent
#B23FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D428F

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

Preview Lab → · Contrast checker → · Palette generator →

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