#1F587F#1F587F

#1F587F is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.087 H 242.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#1F587F
RGBrgb(31, 88, 127)
HSLhsl(204, 61%, 31%)
HSVhsv(204, 76%, 50%)
CMYKcmyk(75.6%, 30.7%, 0%, 50.2%)
CIE-LABlab(35.60, -4.36, -27.24)
CIE-LCHlch(35.60, 27.59, 260.91°)
OKLaboklab(44.25% -0.0401 -0.077)
OKLCHoklch(44.25% 0.087 242.5)
XYZxyz(7.8841, 8.8022, 21.3580)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F587F #7F461F
analogous
#1F7F76 #1F587F #1F287F
triadic
#1F587F #7F1F58 #587F1F
tetradic
#1F587F #761F7F #7F461F #287F1F
square
#1F587F #761F7F #7F461F #287F1F
split-complementary
#1F587F #7F1F28 #7F761F
monochromatic
#07141D #13364E #1F587F #2B7AB0 #4699D2

Accessibility & contrast

On white

7.61
#1F587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F587F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F587F#FFFFFF#000000##FFFFFF
##1F587F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#39507E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f587f;
/* rgb */ color: rgb(31, 88, 127);
/* oklch */ color: oklch(44.2% 0.087 242.5);
Tailwind
colors: {
  custom: {
    50: '#6987a4',
    500: '#1f587f',
    950: '#000000',
  },
}
SCSS
$custom: #1f587f;
$custom-light: #6987a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f587f",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 204.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.08686,
    "h": 242.5
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#1F587F
secondary
#B27348
accent
#8544E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F587F

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

Preview Lab → · Contrast checker → · Palette generator →

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