#1D4E6A#1D4E6A

#1D4E6A is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.4% C 0.070 H 237.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1D4E6A
RGBrgb(29, 78, 106)
HSLhsl(202, 57%, 26%)
HSVhsv(202, 73%, 42%)
CMYKcmyk(72.6%, 26.4%, 0%, 58.4%)
CIE-LABlab(31.23, -6.38, -21.00)
CIE-LCHlch(31.23, 21.95, 253.11°)
OKLaboklab(40.42% -0.038 -0.0591)
OKLCHoklch(40.42% 0.07 237.3)
XYZxyz(5.8316, 6.7500, 14.6284)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E6A #6A391D
analogous
#1D6A60 #1D4E6A #1D286A
triadic
#1D4E6A #6A1D4E #4E6A1D
tetradic
#1D4E6A #601D6A #6A391D #286A1D
square
#1D4E6A #601D6A #6A391D #286A1D
split-complementary
#1D4E6A #6A1D28 #6A601D
monochromatic
#071218 #102B3A #1D4E6A #2A719A #3994C9

Accessibility & contrast

On white

8.94
#1D4E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1D4E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E6A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E6A#FFFFFF#000000##FFFFFF
##1D4E6A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6B
Deuteranopia (green-blind)
#36466A
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4e6a;
/* rgb */ color: rgb(29, 78, 106);
/* oklch */ color: oklch(40.4% 0.070 237.3);
Tailwind
colors: {
  custom: {
    50: '#637f94',
    500: '#1d4e6a',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e6a;
$custom-light: #637f94;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e6a",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 106
  },
  "hsl": {
    "h": 201.818,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.07025,
    "h": 237.3
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#1D4E6A
secondary
#9F6544
accent
#7F48E0
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1D4E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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