#1D477B#1D477B

#1D477B is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.100 H 255.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1D477B
RGBrgb(29, 71, 123)
HSLhsl(213, 62%, 30%)
HSVhsv(213, 76%, 48%)
CMYKcmyk(76.4%, 42.3%, 0%, 51.8%)
CIE-LABlab(29.90, 4.85, -33.78)
CIE-LCHlch(29.90, 34.12, 278.17°)
OKLaboklab(39.69% -0.0252 -0.0964)
OKLCHoklch(39.69% 0.1 255.3)
XYZxyz(6.3338, 6.1970, 19.5974)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D477B #7B511D
analogous
#1D767B #1D477B #221D7B
triadic
#1D477B #7B1D47 #477B1D
tetradic
#1D477B #7B1D76 #7B511D #1D7B22
square
#1D477B #7B1D76 #7B511D #1D7B22
split-complementary
#1D477B #7B221D #767B1D
monochromatic
#060E19 #112A49 #1D477B #2964AD #4081D2

Accessibility & contrast

On white

9.38
#1D477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D477B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D477B#FFFFFF#000000##FFFFFF
##1D477B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#1F427A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d477b;
/* rgb */ color: rgb(29, 71, 123);
/* oklch */ color: oklch(39.7% 0.100 255.3);
Tailwind
colors: {
  custom: {
    50: '#6779a1',
    500: '#1d477b',
    950: '#000000',
  },
}
SCSS
$custom: #1d477b;
$custom-light: #6779a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d477b",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 213.191,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39686,
    "c": 0.09969,
    "h": 255.3
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#1D477B
secondary
#AF8045
accent
#9D43E5
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D477B

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

Preview Lab → · Contrast checker → · Palette generator →

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