#1D4A7B#1D4A7B

#1D4A7B is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.096 H 253.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1D4A7B
RGBrgb(29, 74, 123)
HSLhsl(211, 62%, 30%)
HSVhsv(211, 76%, 48%)
CMYKcmyk(76.4%, 39.8%, 0%, 51.8%)
CIE-LABlab(30.85, 2.84, -32.27)
CIE-LCHlch(30.85, 32.39, 275.02°)
OKLaboklab(40.42% -0.0282 -0.092)
OKLCHoklch(40.42% 0.096 253)
XYZxyz(6.5293, 6.5881, 19.6626)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4A7B #7B4E1D
analogous
#1D797B #1D4A7B #1F1D7B
triadic
#1D4A7B #7B1D4A #4A7B1D
tetradic
#1D4A7B #7B1D79 #7B4E1D #1D7B1F
square
#1D4A7B #7B1D79 #7B4E1D #1D7B1F
split-complementary
#1D4A7B #7B1F1D #797B1D
monochromatic
#060F19 #112C49 #1D4A7B #2968AD #4086D2

Accessibility & contrast

On white

9.06
#1D4A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4A7B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4A7B#FFFFFF#000000##FFFFFF
##1D4A7B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1d4a7b;
/* rgb */ color: rgb(29, 74, 123);
/* oklch */ color: oklch(40.4% 0.096 253.0);
Tailwind
colors: {
  custom: {
    50: '#677ca1',
    500: '#1d4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1d4a7b;
$custom-light: #677ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4a7b",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 211.277,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.09621,
    "h": 253
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#1D4A7B
secondary
#AF7C45
accent
#9743E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #1D4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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