#1F476D#1F476D

#1F476D is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.9% C 0.079 H 249.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1F476D
RGBrgb(31, 71, 109)
HSLhsl(209, 56%, 27%)
HSVhsv(209, 72%, 43%)
CMYKcmyk(71.6%, 34.9%, 0%, 57.3%)
CIE-LABlab(29.16, -0.36, -26.14)
CIE-LCHlch(29.16, 26.14, 269.20°)
OKLaboklab(38.86% -0.0276 -0.074)
OKLCHoklch(38.86% 0.079 249.5)
XYZxyz(5.5776, 5.9013, 15.3102)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F476D #6D451F
analogous
#1F6D6C #1F476D #1F206D
triadic
#1F476D #6D1F47 #476D1F
tetradic
#1F476D #6C1F6D #6D451F #206D1F
square
#1F476D #6C1F6D #6D451F #206D1F
split-complementary
#1F476D #6D1F20 #6D6C1F
monochromatic
#071018 #11283D #1F476D #2D669D #3E85C8

Accessibility & contrast

On white

9.63
#1F476D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1F476D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F476D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F476D#FFFFFF#000000##FFFFFF
##1F476D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f476d;
/* rgb */ color: rgb(31, 71, 109);
/* oklch */ color: oklch(38.9% 0.079 249.5);
Tailwind
colors: {
  custom: {
    50: '#657997',
    500: '#1f476d',
    950: '#000000',
  },
}
SCSS
$custom: #1f476d;
$custom-light: #657997;
$custom-dark: #000000;
JSON
{
  "hex": "#1f476d",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 209.231,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.07904,
    "h": 249.5
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#1F476D
secondary
#A17347
accent
#9249DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090D
muted
#7A7B7E

Preview Lab

Preview with #1F476D

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

Preview Lab → · Contrast checker → · Palette generator →

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