#1F587E#1F587E

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

Color values

HEX#1F587E
RGBrgb(31, 88, 126)
HSLhsl(204, 61%, 31%)
HSVhsv(204, 75%, 49%)
CMYKcmyk(75.4%, 30.2%, 0%, 50.6%)
CIE-LABlab(35.55, -4.74, -26.70)
CIE-LCHlch(35.55, 27.12, 259.94°)
OKLaboklab(44.19% -0.0404 -0.0755)
OKLCHoklch(44.19% 0.086 241.8)
XYZxyz(7.8192, 8.7762, 21.0165)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F587E #7E451F
analogous
#1F7E74 #1F587E #1F287E
triadic
#1F587E #7E1F58 #587E1F
tetradic
#1F587E #741F7E #7E451F #287E1F
square
#1F587E #741F7E #7E451F #287E1F
split-complementary
#1F587E #7E1F28 #7E741F
monochromatic
#07131C #13364D #1F587E #2B7AAF #469AD1

Accessibility & contrast

On white

7.62
#1F587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F587E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F587E#FFFFFF#000000##FFFFFF
##1F587E1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#39507D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f587e;
/* rgb */ color: rgb(31, 88, 126);
/* oklch */ color: oklch(44.2% 0.086 241.8);
Tailwind
colors: {
  custom: {
    50: '#6887a3',
    500: '#1f587e',
    950: '#000000',
  },
}
SCSS
$custom: #1f587e;
$custom-light: #6887a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f587e",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 204,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.08564,
    "h": 241.8
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#1F587E
secondary
#B17248
accent
#8444E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F587E

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

Preview Lab → · Contrast checker → · Palette generator →

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