#1D4A7D#1D4A7D

#1D4A7D is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.099 H 253.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1D4A7D
RGBrgb(29, 74, 125)
HSLhsl(212, 62%, 30%)
HSVhsv(212, 77%, 49%)
CMYKcmyk(76.8%, 40.8%, 0%, 51%)
CIE-LABlab(30.97, 3.63, -33.33)
CIE-LCHlch(30.97, 33.52, 276.22°)
OKLaboklab(40.56% -0.0277 -0.0951)
OKLCHoklch(40.56% 0.099 253.8)
XYZxyz(6.6558, 6.6387, 20.3287)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A7D #7D501D
analogous
#1D7A7D #1D4A7D #201D7D
triadic
#1D4A7D #7D1D4A #4A7D1D
tetradic
#1D4A7D #7D1D7A #7D501D #1D7D20
square
#1D4A7D #7D1D7A #7D501D #1D7D20
split-complementary
#1D4A7D #7D201D #7A7D1D
monochromatic
#060F1A #112D4B #1D4A7D #2967AF #4186D3

Accessibility & contrast

On white

9.02
#1D4A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1D4A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A7D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A7D#FFFFFF#000000##FFFFFF
##1D4A7D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#23457C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4a7d;
/* rgb */ color: rgb(29, 74, 125);
/* oklch */ color: oklch(40.6% 0.099 253.8);
Tailwind
colors: {
  custom: {
    50: '#677ca3',
    500: '#1d4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a7d;
$custom-light: #677ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a7d",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 211.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.09903,
    "h": 253.8
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#1D4A7D
secondary
#B17E45
accent
#9942E5
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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