#1D4E88#1D4E88

#1D4E88 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.3% C 0.110 H 254.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1D4E88
RGBrgb(29, 78, 136)
HSLhsl(213, 65%, 32%)
HSVhsv(213, 79%, 53%)
CMYKcmyk(78.7%, 42.6%, 0%, 46.7%)
CIE-LABlab(32.89, 5.37, -37.07)
CIE-LCHlch(32.89, 37.45, 278.24°)
OKLaboklab(42.27% -0.0288 -0.106)
OKLCHoklch(42.27% 0.11 254.8)
XYZxyz(7.6734, 7.4867, 24.3284)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E88 #88571D
analogous
#1D8488 #1D4E88 #211D88
triadic
#1D4E88 #881D4E #4E881D
tetradic
#1D4E88 #881D84 #88571D #1D8821
square
#1D4E88 #881D84 #88571D #1D8821
split-complementary
#1D4E88 #88211D #84881D
monochromatic
#071423 #123156 #1D4E88 #286BBA #488AD8

Accessibility & contrast

On white

8.41
#1D4E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1D4E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E88
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E88#FFFFFF#000000##FFFFFF
##1D4E881.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538A
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4e88;
/* rgb */ color: rgb(29, 78, 136);
/* oklch */ color: oklch(42.3% 0.110 254.8);
Tailwind
colors: {
  custom: {
    50: '#6a7fab',
    500: '#1d4e88',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e88;
$custom-light: #6a7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e88",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 212.523,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42269,
    "c": 0.10984,
    "h": 254.8
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#1D4E88
secondary
#BA8547
accent
#9B40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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