#1D4E7B#1D4E7B

#1D4E7B is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.092 H 249.4°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1D4E7B
RGBrgb(29, 78, 123)
HSLhsl(209, 62%, 30%)
HSVhsv(209, 76%, 48%)
CMYKcmyk(76.4%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.12, 0.20, -30.25)
CIE-LCHlch(32.12, 30.25, 270.37°)
OKLaboklab(41.42% -0.0322 -0.086)
OKLCHoklch(41.42% 0.092 249.4)
XYZxyz(6.8049, 7.1393, 19.7544)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4E7B #7B4A1D
analogous
#1D7B79 #1D4E7B #1D1F7B
triadic
#1D4E7B #7B1D4E #4E7B1D
tetradic
#1D4E7B #791D7B #7B4A1D #1F7B1D
square
#1D4E7B #791D7B #7B4A1D #1F7B1D
split-complementary
#1D4E7B #7B1D1F #7B791D
monochromatic
#061019 #112F49 #1D4E7B #296DAD #408CD2

Accessibility & contrast

On white

8.65
#1D4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1D4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4E7B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4E7B#FFFFFF#000000##FFFFFF
##1D4E7B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4e7b;
/* rgb */ color: rgb(29, 78, 123);
/* oklch */ color: oklch(41.4% 0.092 249.4);
Tailwind
colors: {
  custom: {
    50: '#677fa1',
    500: '#1d4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4e7b;
$custom-light: #677fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4e7b",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 208.723,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.09186,
    "h": 249.4
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#1D4E7B
secondary
#AF7845
accent
#9043E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #1D4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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