#1D4E7F#1D4E7F

#1D4E7F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.097 H 251.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1D4E7F
RGBrgb(29, 78, 127)
HSLhsl(210, 63%, 31%)
HSVhsv(210, 77%, 50%)
CMYKcmyk(77.2%, 38.6%, 0%, 50.2%)
CIE-LABlab(32.35, 1.78, -32.37)
CIE-LCHlch(32.35, 32.42, 273.14°)
OKLaboklab(41.67% -0.0311 -0.0922)
OKLCHoklch(41.67% 0.097 251.4)
XYZxyz(7.0604, 7.2415, 21.1002)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E7F #7F4E1D
analogous
#1D7F7F #1D4E7F #1D1D7F
triadic
#1D4E7F #7F1D4E #4E7F1D
tetradic
#1D4E7F #7F1D7F #7F4E1D #1D7F1D
square
#1D4E7F #7F1D7F #7F4E1D #1D7F1D
split-complementary
#1D4E7F #7F1D1D #7F7F1D
monochromatic
#06111B #122F4D #1D4E7F #286DB1 #428BD4

Accessibility & contrast

On white

8.58
#1D4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E7F
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E7F#FFFFFF#000000##FFFFFF
##1D4E7F1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4e7f;
/* rgb */ color: rgb(29, 78, 127);
/* oklch */ color: oklch(41.7% 0.097 251.4);
Tailwind
colors: {
  custom: {
    50: '#687fa4',
    500: '#1d4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e7f;
$custom-light: #687fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e7f",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 210,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.09732,
    "h": 251.4
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#1D4E7F
secondary
#B27C45
accent
#9442E6
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1D4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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