#1D4E9C#1D4E9C

#1D4E9C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.138 H 259.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#1D4E9C
RGBrgb(29, 78, 156)
HSLhsl(217, 69%, 36%)
HSVhsv(217, 81%, 61%)
CMYKcmyk(81.4%, 50%, 0%, 38.8%)
CIE-LABlab(34.21, 13.40, -47.13)
CIE-LCHlch(34.21, 48.99, 285.87°)
OKLaboklab(43.71% -0.025 -0.1356)
OKLCHoklch(43.71% 0.138 259.6)
XYZxyz(9.2296, 8.1092, 32.5248)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E9C #9C6B1D
analogous
#1D8E9C #1D4E9C #2B1D9C
triadic
#1D4E9C #9C1D4E #4E9C1D
tetradic
#1D4E9C #9C1D8E #9C6B1D #1D9C2B
square
#1D4E9C #9C1D8E #9C6B1D #1D9C2B
split-complementary
#1D4E9C #9C2B1D #8E9C1D
monochromatic
#0A1A35 #133468 #1D4E9C #2768D0 #548ADF

Accessibility & contrast

On white

8.01
#1D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1D4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E9C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E9C#FFFFFF#000000##FFFFFF
##1D4E9C1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1d4e9c;
/* rgb */ color: rgb(29, 78, 156);
/* oklch */ color: oklch(43.7% 0.138 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7eba',
    500: '#1d4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e9c;
$custom-light: #6e7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e9c",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 216.85,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.13785,
    "h": 259.6
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#1D4E9C
secondary
#C29752
accent
#A83CEB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1D4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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