#1D4E8A#1D4E8A

#1D4E8A is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.4% C 0.113 H 255.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1D4E8A
RGBrgb(29, 78, 138)
HSLhsl(213, 65%, 33%)
HSVhsv(213, 79%, 54%)
CMYKcmyk(79%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.01, 6.17, -38.10)
CIE-LCHlch(33.01, 38.59, 279.19°)
OKLaboklab(42.41% -0.0284 -0.109)
OKLCHoklch(42.41% 0.113 255.4)
XYZxyz(7.8168, 7.5441, 25.0840)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E8A #8A591D
analogous
#1D848A #1D4E8A #231D8A
triadic
#1D4E8A #8A1D4E #4E8A1D
tetradic
#1D4E8A #8A1D84 #8A591D #1D8A23
square
#1D4E8A #8A1D84 #8A591D #1D8A23
split-complementary
#1D4E8A #8A231D #848A1D
monochromatic
#081525 #123157 #1D4E8A #286BBD #4989D9

Accessibility & contrast

On white

8.37
#1D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1D4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E8A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E8A#FFFFFF#000000##FFFFFF
##1D4E8A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4e8a;
/* rgb */ color: rgb(29, 78, 138);
/* oklch */ color: oklch(42.4% 0.113 255.4);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e8a;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e8a",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 213.028,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42407,
    "c": 0.11264,
    "h": 255.4
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#1D4E8A
secondary
#BB8748
accent
#9C40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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