#1D4E6B#1D4E6B

#1D4E6B is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.5% C 0.071 H 238.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#1D4E6B
RGBrgb(29, 78, 107)
HSLhsl(202, 57%, 27%)
HSVhsv(202, 73%, 42%)
CMYKcmyk(72.9%, 27.1%, 0%, 58%)
CIE-LABlab(31.28, -6.00, -21.56)
CIE-LCHlch(31.28, 22.37, 254.45°)
OKLaboklab(40.48% -0.0376 -0.0607)
OKLCHoklch(40.48% 0.071 238.2)
XYZxyz(5.8839, 6.7709, 14.9039)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E6B #6B3A1D
analogous
#1D6B61 #1D4E6B #1D276B
triadic
#1D4E6B #6B1D4E #4E6B1D
tetradic
#1D4E6B #611D6B #6B3A1D #276B1D
square
#1D4E6B #611D6B #6B3A1D #276B1D
split-complementary
#1D4E6B #6B1D27 #6B611D
monochromatic
#071218 #102B3B #1D4E6B #2A719B #3994C9

Accessibility & contrast

On white

8.92
#1D4E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4E6B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E6B#FFFFFF#000000##FFFFFF
##1D4E6B1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6C
Deuteranopia (green-blind)
#36466B
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4e6b;
/* rgb */ color: rgb(29, 78, 107);
/* oklch */ color: oklch(40.5% 0.071 238.2);
Tailwind
colors: {
  custom: {
    50: '#647f95',
    500: '#1d4e6b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e6b;
$custom-light: #647f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e6b",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 107
  },
  "hsl": {
    "h": 202.308,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40478,
    "c": 0.0714,
    "h": 238.2
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#1D4E6B
secondary
#A06644
accent
#8047E1
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#060A0D
muted
#7A7C7E

Preview Lab

Preview with #1D4E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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