#1F587B#1F587B

#1F587B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.082 H 239.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#1F587B
RGBrgb(31, 88, 123)
HSLhsl(203, 60%, 30%)
HSVhsv(203, 75%, 48%)
CMYKcmyk(74.8%, 28.5%, 0%, 51.8%)
CIE-LABlab(35.40, -5.87, -25.09)
CIE-LCHlch(35.40, 25.77, 256.82°)
OKLaboklab(44.02% -0.0415 -0.0708)
OKLCHoklch(44.02% 0.082 239.6)
XYZxyz(7.6286, 8.7000, 20.0123)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F587B #7B421F
analogous
#1F7B70 #1F587B #1F2A7B
triadic
#1F587B #7B1F58 #587B1F
tetradic
#1F587B #701F7B #7B421F #2A7B1F
square
#1F587B #701F7B #7B421F #2A7B1F
split-complementary
#1F587B #7B1F2A #7B701F
monochromatic
#061219 #13354A #1F587B #2B7BAC #449BD0

Accessibility & contrast

On white

7.66
#1F587B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#1F587B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F587B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F587B#FFFFFF#000000##FFFFFF
##1F587B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f587b;
/* rgb */ color: rgb(31, 88, 123);
/* oklch */ color: oklch(44.0% 0.082 239.6);
Tailwind
colors: {
  custom: {
    50: '#6887a1',
    500: '#1f587b',
    950: '#000000',
  },
}
SCSS
$custom: #1f587b;
$custom-light: #6887a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f587b",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 202.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.08207,
    "h": 239.6
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#1F587B
secondary
#AE6F48
accent
#8145E3
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #1F587B

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

Preview Lab → · Contrast checker → · Palette generator →

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