#1F475E#1F475E

#1F475E is a dark, muted cyan. Relative luminance 0.056; OKLCH L 38.0% C 0.060 H 236.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1F475E
RGBrgb(31, 71, 94)
HSLhsl(202, 50%, 25%)
HSVhsv(202, 67%, 37%)
CMYKcmyk(67%, 24.5%, 0%, 63.1%)
CIE-LABlab(28.39, -6.06, -17.76)
CIE-LCHlch(28.39, 18.77, 251.17°)
OKLaboklab(38% -0.0329 -0.0498)
OKLCHoklch(38% 0.06 236.5)
XYZxyz(4.8379, 5.6055, 11.4145)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F475E #5E361F
analogous
#1F5E56 #1F475E #1F285E
triadic
#1F475E #5E1F47 #475E1F
tetradic
#1F475E #561F5E #5E361F #285E1F
square
#1F475E #561F5E #5E361F #285E1F
split-complementary
#1F475E #5E1F28 #5E561F
monochromatic
#081117 #102430 #1F475E #2E6A8C #3D8DBA

Accessibility & contrast

On white

9.90
#1F475E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F475E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F475E#FFFFFF#000000##FFFFFF
##1F475E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C475F
Deuteranopia (green-blind)
#34405E
Tritanopia (blue-blind)
#004D4F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f475e;
/* rgb */ color: rgb(31, 71, 94);
/* oklch */ color: oklch(38.0% 0.060 236.5);
Tailwind
colors: {
  custom: {
    50: '#627a8b',
    500: '#1f475e',
    950: '#000000',
  },
}
SCSS
$custom: #1f475e;
$custom-light: #627a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f475e",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 94
  },
  "hsl": {
    "h": 201.905,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.0597,
    "h": 236.5
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#1F475E
secondary
#936246
accent
#814EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090C
muted
#7A7B7D

Preview Lab

Preview with #1F475E

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

Preview Lab → · Contrast checker → · Palette generator →

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