#1D4B8A#1D4B8A

#1D4B8A is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.7% C 0.116 H 257.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#1D4B8A
RGBrgb(29, 75, 138)
HSLhsl(215, 65%, 33%)
HSVhsv(215, 79%, 54%)
CMYKcmyk(79%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.10, 8.18, -39.57)
CIE-LCHlch(32.10, 40.41, 281.68°)
OKLaboklab(41.69% -0.0256 -0.1134)
OKLCHoklch(41.69% 0.116 257.3)
XYZxyz(7.6085, 7.1275, 25.0146)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B8A #8A5C1D
analogous
#1D818A #1D4B8A #261D8A
triadic
#1D4B8A #8A1D4B #4B8A1D
tetradic
#1D4B8A #8A1D81 #8A5C1D #1D8A26
square
#1D4B8A #8A1D81 #8A5C1D #1D8A26
split-complementary
#1D4B8A #8A261D #818A1D
monochromatic
#081425 #123057 #1D4B8A #2866BD #4985D9

Accessibility & contrast

On white

8.66
#1D4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B8A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B8A#FFFFFF#000000##FFFFFF
##1D4B8A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#144789
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d4b8a;
/* rgb */ color: rgb(29, 75, 138);
/* oklch */ color: oklch(41.7% 0.116 257.3);
Tailwind
colors: {
  custom: {
    50: '#6a7cac',
    500: '#1d4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b8a;
$custom-light: #6a7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b8a",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 214.679,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.11626,
    "h": 257.3
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#1D4B8A
secondary
#BB8A48
accent
#A140E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1D4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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