#1F4E58#1F4E58

#1F4E58 is a dark, muted cyan. Relative luminance 0.064; OKLCH L 39.6% C 0.053 H 213.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1F4E58
RGBrgb(31, 78, 88)
HSLhsl(191, 48%, 23%)
HSVhsv(191, 65%, 35%)
CMYKcmyk(64.8%, 11.4%, 0%, 65.5%)
CIE-LABlab(30.51, -12.49, -10.67)
CIE-LCHlch(30.51, 16.43, 220.52°)
OKLaboklab(39.6% -0.0442 -0.0296)
OKLCHoklch(39.6% 0.053 213.8)
XYZxyz(5.0502, 6.4442, 10.2083)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E58 #58291F
analogous
#1F5845 #1F4E58 #1F3158
triadic
#1F4E58 #581F4E #4E581F
tetradic
#1F4E58 #451F58 #58291F #31581F
square
#1F4E58 #451F58 #58291F #31581F
split-complementary
#1F4E58 #581F31 #58451F
monochromatic
#081417 #0F262B #1F4E58 #2F7685 #3F9EB3

Accessibility & contrast

On white

9.17
#1F4E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1F4E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E58
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E58#FFFFFF#000000##FFFFFF
##1F4E581.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B59
Deuteranopia (green-blind)
#3E4558
Tritanopia (blue-blind)
#005251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4e58;
/* rgb */ color: rgb(31, 78, 88);
/* oklch */ color: oklch(39.6% 0.053 213.8);
Tailwind
colors: {
  custom: {
    50: '#627f87',
    500: '#1f4e58',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e58;
$custom-light: #627f87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e58",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 88
  },
  "hsl": {
    "h": 190.526,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.05318,
    "h": 213.8
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#1F4E58
secondary
#8D5246
accent
#6850D7
background
#F6F7F8
surface
#EBEEEF
border
#C6C9CA
text
#050A0B
muted
#7A7C7C

Preview Lab

Preview with #1F4E58

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

Preview Lab → · Contrast checker → · Palette generator →

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