#1D4F89#1D4F89

#1D4F89 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.110 H 254.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#1D4F89
RGBrgb(29, 79, 137)
HSLhsl(212, 65%, 33%)
HSVhsv(212, 79%, 54%)
CMYKcmyk(78.8%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.26, 5.10, -37.09)
CIE-LCHlch(33.26, 37.44, 277.83°)
OKLaboklab(42.58% -0.0295 -0.106)
OKLCHoklch(42.58% 0.11 254.4)
XYZxyz(7.8164, 7.6584, 24.7283)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4F89 #89571D
analogous
#1D8589 #1D4F89 #211D89
triadic
#1D4F89 #891D4F #4F891D
tetradic
#1D4F89 #891D85 #89571D #1D8921
square
#1D4F89 #891D85 #89571D #1D8921
split-complementary
#1D4F89 #89211D #85891D
monochromatic
#081524 #123256 #1D4F89 #286CBC #488BD8

Accessibility & contrast

On white

8.29
#1D4F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#1D4F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4F89
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4F89#FFFFFF#000000##FFFFFF
##1D4F891.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548B
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4f89;
/* rgb */ color: rgb(29, 79, 137);
/* oklch */ color: oklch(42.6% 0.110 254.4);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1d4f89',
    950: '#000000',
  },
}
SCSS
$custom: #1d4f89;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4f89",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 212.222,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.11006,
    "h": 254.4
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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