#1F475C#1F475C

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

Color values

HEX#1F475C
RGBrgb(31, 71, 92)
HSLhsl(201, 50%, 24%)
HSVhsv(201, 66%, 36%)
CMYKcmyk(66.3%, 22.8%, 0%, 63.9%)
CIE-LABlab(28.30, -6.79, -16.62)
CIE-LCHlch(28.30, 17.95, 247.78°)
OKLaboklab(37.9% -0.0337 -0.0465)
OKLCHoklch(37.9% 0.057 234)
XYZxyz(4.7493, 5.5700, 10.9480)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F475C #5C341F
analogous
#1F5C53 #1F475C #1F295C
triadic
#1F475C #5C1F47 #475C1F
tetradic
#1F475C #531F5C #5C341F #295C1F
square
#1F475C #531F5C #5C341F #295C1F
split-complementary
#1F475C #5C1F29 #5C531F
monochromatic
#081217 #10242E #1F475C #2E6A8A #3E8EB8

Accessibility & contrast

On white

9.93
#1F475C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1F475C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F475C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F475C#FFFFFF#000000##FFFFFF
##1F475C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f475c;
/* rgb */ color: rgb(31, 71, 92);
/* oklch */ color: oklch(37.9% 0.057 234.0);
Tailwind
colors: {
  custom: {
    50: '#627a8a',
    500: '#1f475c',
    950: '#000000',
  },
}
SCSS
$custom: #1f475c;
$custom-light: #627a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f475c",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 92
  },
  "hsl": {
    "h": 200.656,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.37897,
    "c": 0.05747,
    "h": 234
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#1F475C
secondary
#916046
accent
#7E4FD9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05090B
muted
#7A7B7C

Preview Lab

Preview with #1F475C

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

Preview Lab → · Contrast checker → · Palette generator →

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