#1D4A7C#1D4A7C

#1D4A7C is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.098 H 253.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#1D4A7C
RGBrgb(29, 74, 124)
HSLhsl(212, 62%, 30%)
HSVhsv(212, 77%, 49%)
CMYKcmyk(76.6%, 40.3%, 0%, 51.4%)
CIE-LABlab(30.91, 3.23, -32.80)
CIE-LCHlch(30.91, 32.96, 275.63°)
OKLaboklab(40.49% -0.0279 -0.0935)
OKLCHoklch(40.49% 0.098 253.4)
XYZxyz(6.5922, 6.6133, 19.9939)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A7C #7C4F1D
analogous
#1D7A7C #1D4A7C #1F1D7C
triadic
#1D4A7C #7C1D4A #4A7C1D
tetradic
#1D4A7C #7C1D7A #7C4F1D #1D7C1F
square
#1D4A7C #7C1D7A #7C4F1D #1D7C1F
split-complementary
#1D4A7C #7C1F1D #7A7C1D
monochromatic
#060F19 #112C4A #1D4A7C #2968AE #4186D3

Accessibility & contrast

On white

9.04
#1D4A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1D4A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4A7C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A7C#FFFFFF#000000##FFFFFF
##1D4A7C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4a7c;
/* rgb */ color: rgb(29, 74, 124);
/* oklch */ color: oklch(40.5% 0.098 253.4);
Tailwind
colors: {
  custom: {
    50: '#677ca2',
    500: '#1d4a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a7c;
$custom-light: #677ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a7c",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 211.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.09761,
    "h": 253.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#1D4A7C
secondary
#B07D45
accent
#9843E5
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D4A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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