#1D4E89#1D4E89

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

Color values

HEX#1D4E89
RGBrgb(29, 78, 137)
HSLhsl(213, 65%, 33%)
HSVhsv(213, 79%, 54%)
CMYKcmyk(78.8%, 43.1%, 0%, 46.3%)
CIE-LABlab(32.95, 5.77, -37.58)
CIE-LCHlch(32.95, 38.02, 278.72°)
OKLaboklab(42.34% -0.0286 -0.1075)
OKLCHoklch(42.34% 0.111 255.1)
XYZxyz(7.7448, 7.5152, 24.7045)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E89 #89581D
analogous
#1D8489 #1D4E89 #221D89
triadic
#1D4E89 #891D4E #4E891D
tetradic
#1D4E89 #891D84 #89581D #1D8922
square
#1D4E89 #891D84 #89581D #1D8922
split-complementary
#1D4E89 #89221D #84891D
monochromatic
#081424 #123156 #1D4E89 #286BBC #488AD8

Accessibility & contrast

On white

8.39
#1D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E89
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E89#FFFFFF#000000##FFFFFF
##1D4E891.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#1E4988
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1d4e89;
/* rgb */ color: rgb(29, 78, 137);
/* oklch */ color: oklch(42.3% 0.111 255.1);
Tailwind
colors: {
  custom: {
    50: '#6a7fac',
    500: '#1d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e89;
$custom-light: #6a7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e89",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 212.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.11124,
    "h": 255.1
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#1D4E89
secondary
#BA8647
accent
#9C40E8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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