#1D477F#1D477F

#1D477F is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 40.0% C 0.105 H 256.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1D477F
RGBrgb(29, 71, 127)
HSLhsl(214, 63%, 31%)
HSVhsv(214, 77%, 50%)
CMYKcmyk(77.2%, 44.1%, 0%, 50.2%)
CIE-LABlab(30.16, 6.46, -35.87)
CIE-LCHlch(30.16, 36.45, 280.20°)
OKLaboklab(39.96% -0.0243 -0.1026)
OKLCHoklch(39.96% 0.105 256.7)
XYZxyz(6.5893, 6.2993, 20.9432)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D477F #7F551D
analogous
#1D787F #1D477F #241D7F
triadic
#1D477F #7F1D47 #477F1D
tetradic
#1D477F #7F1D78 #7F551D #1D7F24
square
#1D477F #7F1D78 #7F551D #1D7F24
split-complementary
#1D477F #7F241D #787F1D
monochromatic
#060F1B #122B4D #1D477F #2863B1 #4281D4

Accessibility & contrast

On white

9.29
#1D477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D477F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D477F#FFFFFF#000000##FFFFFF
##1D477F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d477f;
/* rgb */ color: rgb(29, 71, 127);
/* oklch */ color: oklch(40.0% 0.105 256.7);
Tailwind
colors: {
  custom: {
    50: '#6879a4',
    500: '#1d477f',
    950: '#000000',
  },
}
SCSS
$custom: #1d477f;
$custom-light: #6879a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d477f",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 214.286,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39962,
    "c": 0.10544,
    "h": 256.7
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#1D477F
secondary
#B28445
accent
#A042E6
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1D477F

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

Preview Lab → · Contrast checker → · Palette generator →

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