#1D4D8F#1D4D8F

#1D4D8F is a dark, vivid cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.121 H 257.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#1D4D8F
RGBrgb(29, 77, 143)
HSLhsl(215, 66%, 34%)
HSVhsv(215, 80%, 56%)
CMYKcmyk(79.7%, 46.2%, 0%, 43.9%)
CIE-LABlab(33.03, 8.85, -41.13)
CIE-LCHlch(33.03, 42.07, 282.14°)
OKLaboklab(42.52% -0.0264 -0.118)
OKLCHoklch(42.52% 0.121 257.4)
XYZxyz(8.1167, 7.5512, 27.0110)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4D8F #8F5F1D
analogous
#1D868F #1D4D8F #261D8F
triadic
#1D4D8F #8F1D4D #4D8F1D
tetradic
#1D4D8F #8F1D86 #8F5F1D #1D8F26
square
#1D4D8F #8F1D86 #8F5F1D #1D8F26
split-complementary
#1D4D8F #8F261D #868F1D
monochromatic
#081629 #13325C #1D4D8F #2768C2 #4C88DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D4D8F#FFFFFF#000000##FFFFFF
##1D4D8F1.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)
#2B5392
Deuteranopia (green-blind)
#11498E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4d8f;
/* rgb */ color: rgb(29, 77, 143);
/* oklch */ color: oklch(42.5% 0.121 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7eb0',
    500: '#1d4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4d8f;
$custom-light: #6b7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4d8f",
  "rgb": {
    "r": 29,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 214.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.12088,
    "h": 257.4
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#1D4D8F
secondary
#BD8D4B
accent
#A13FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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