#1D4B7D#1D4B7D

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

Color values

HEX#1D4B7D
RGBrgb(29, 75, 125)
HSLhsl(211, 62%, 30%)
HSVhsv(211, 77%, 49%)
CMYKcmyk(76.8%, 40%, 0%, 51%)
CIE-LABlab(31.29, 2.97, -32.82)
CIE-LCHlch(31.29, 32.96, 275.17°)
OKLaboklab(40.8% -0.0287 -0.0936)
OKLCHoklch(40.8% 0.098 253)
XYZxyz(6.7231, 6.7733, 20.3511)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B7D #7D4F1D
analogous
#1D7B7D #1D4B7D #1F1D7D
triadic
#1D4B7D #7D1D4B #4B7D1D
tetradic
#1D4B7D #7D1D7B #7D4F1D #1D7D1F
square
#1D4B7D #7D1D7B #7D4F1D #1D7D1F
split-complementary
#1D4B7D #7D1F1D #7B7D1D
monochromatic
#060F1A #112D4B #1D4B7D #2969AF #4187D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D4B7D#FFFFFF#000000##FFFFFF
##1D4B7D1.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)
#344E7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d4b7d;
/* rgb */ color: rgb(29, 75, 125);
/* oklch */ color: oklch(40.8% 0.098 253.0);
Tailwind
colors: {
  custom: {
    50: '#677ca3',
    500: '#1d4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b7d;
$custom-light: #677ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b7d",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 211.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.09788,
    "h": 253
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#1D4B7D
secondary
#B17D45
accent
#9742E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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