#1D477C#1D477C

#1D477C is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.101 H 255.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1D477C
RGBrgb(29, 71, 124)
HSLhsl(213, 62%, 30%)
HSVhsv(213, 77%, 49%)
CMYKcmyk(76.6%, 42.7%, 0%, 51.4%)
CIE-LABlab(29.97, 5.25, -34.30)
CIE-LCHlch(29.97, 34.70, 278.70°)
OKLaboklab(39.76% -0.025 -0.098)
OKLCHoklch(39.76% 0.101 255.7)
XYZxyz(6.3967, 6.2222, 19.9288)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D477C #7C521D
analogous
#1D767C #1D477C #231D7C
triadic
#1D477C #7C1D47 #477C1D
tetradic
#1D477C #7C1D76 #7C521D #1D7C23
square
#1D477C #7C1D76 #7C521D #1D7C23
split-complementary
#1D477C #7C231D #767C1D
monochromatic
#060E19 #112B4A #1D477C #2963AE #4181D3

Accessibility & contrast

On white

9.36
#1D477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D477C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D477C#FFFFFF#000000##FFFFFF
##1D477C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#1E437B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d477c;
/* rgb */ color: rgb(29, 71, 124);
/* oklch */ color: oklch(39.8% 0.101 255.7);
Tailwind
colors: {
  custom: {
    50: '#6779a2',
    500: '#1d477c',
    950: '#000000',
  },
}
SCSS
$custom: #1d477c;
$custom-light: #6779a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d477c",
  "rgb": {
    "r": 29,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 213.474,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.39755,
    "c": 0.10112,
    "h": 255.7
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D477C

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

Preview Lab → · Contrast checker → · Palette generator →

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