#1D4E8F#1D4E8F

#1D4E8F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.120 H 256.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1D4E8F
RGBrgb(29, 78, 143)
HSLhsl(214, 66%, 34%)
HSVhsv(214, 80%, 56%)
CMYKcmyk(79.7%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.33, 8.17, -40.65)
CIE-LCHlch(33.33, 41.46, 281.37°)
OKLaboklab(42.76% -0.0273 -0.1165)
OKLCHoklch(42.76% 0.12 256.8)
XYZxyz(8.1872, 7.6922, 27.0345)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E8F #8F5E1D
analogous
#1D878F #1D4E8F #251D8F
triadic
#1D4E8F #8F1D4E #4E8F1D
tetradic
#1D4E8F #8F1D87 #8F5E1D #1D8F25
square
#1D4E8F #8F1D87 #8F5E1D #1D8F25
split-complementary
#1D4E8F #8F251D #878F1D
monochromatic
#081629 #13325C #1D4E8F #276AC2 #4C89DB

Accessibility & contrast

On white

8.27
#1D4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1D4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E8F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E8F#FFFFFF#000000##FFFFFF
##1D4E8F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#154A8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1d4e8f;
/* rgb */ color: rgb(29, 78, 143);
/* oklch */ color: oklch(42.8% 0.120 256.8);
Tailwind
colors: {
  custom: {
    50: '#6b7fb0',
    500: '#1d4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e8f;
$custom-light: #6b7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e8f",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 214.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.11965,
    "h": 256.8
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#1D4E8F
secondary
#BD8C4B
accent
#A03FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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