#1D4E8B#1D4E8B

#1D4E8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.114 H 255.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#1D4E8B
RGBrgb(29, 78, 139)
HSLhsl(213, 65%, 33%)
HSVhsv(213, 79%, 55%)
CMYKcmyk(79.1%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.08, 6.57, -38.61)
CIE-LCHlch(33.08, 39.16, 279.66°)
OKLaboklab(42.48% -0.0281 -0.1105)
OKLCHoklch(42.48% 0.114 255.7)
XYZxyz(7.8896, 7.5731, 25.4670)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E8B #8B5A1D
analogous
#1D858B #1D4E8B #231D8B
triadic
#1D4E8B #8B1D4E #4E8B1D
tetradic
#1D4E8B #8B1D85 #8B5A1D #1D8B23
square
#1D4E8B #8B1D85 #8B5A1D #1D8B23
split-complementary
#1D4E8B #8B231D #858B1D
monochromatic
#081526 #123258 #1D4E8B #286ABE #4989D9

Accessibility & contrast

On white

8.35
#1D4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E8B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E8B#FFFFFF#000000##FFFFFF
##1D4E8B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d4e8b;
/* rgb */ color: rgb(29, 78, 139);
/* oklch */ color: oklch(42.5% 0.114 255.7);
Tailwind
colors: {
  custom: {
    50: '#6a7fad',
    500: '#1d4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e8b;
$custom-light: #6a7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e8b",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 213.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.11405,
    "h": 255.7
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#1D4E8B
secondary
#BB8849
accent
#9D3FE8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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