#1F475D#1F475D

#1F475D is a dark, muted cyan. Relative luminance 0.056; OKLCH L 37.9% C 0.059 H 235.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1F475D
RGBrgb(31, 71, 93)
HSLhsl(201, 50%, 24%)
HSVhsv(201, 67%, 36%)
CMYKcmyk(66.7%, 23.7%, 0%, 63.5%)
CIE-LABlab(28.35, -6.42, -17.19)
CIE-LCHlch(28.35, 18.35, 249.51°)
OKLaboklab(37.95% -0.0333 -0.0481)
OKLCHoklch(37.95% 0.059 235.3)
XYZxyz(4.7933, 5.5876, 11.1797)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F475D #5D351F
analogous
#1F5D54 #1F475D #1F285D
triadic
#1F475D #5D1F47 #475D1F
tetradic
#1F475D #541F5D #5D351F #285D1F
square
#1F475D #541F5D #5D351F #285D1F
split-complementary
#1F475D #5D1F28 #5D541F
monochromatic
#081217 #10242F #1F475D #2E6A8B #3E8DB9

Accessibility & contrast

On white

9.92
#1F475D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1F475D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F475D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F475D#FFFFFF#000000##FFFFFF
##1F475D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465E
Deuteranopia (green-blind)
#34405D
Tritanopia (blue-blind)
#004D4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f475d;
/* rgb */ color: rgb(31, 71, 93);
/* oklch */ color: oklch(37.9% 0.059 235.3);
Tailwind
colors: {
  custom: {
    50: '#627a8b',
    500: '#1f475d',
    950: '#000000',
  },
}
SCSS
$custom: #1f475d;
$custom-light: #627a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f475d",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 93
  },
  "hsl": {
    "h": 201.29,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37949,
    "c": 0.05857,
    "h": 235.3
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#1F475D
secondary
#926146
accent
#804EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F475D

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

Preview Lab → · Contrast checker → · Palette generator →

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