#1F588A#1F588A

#1F588A is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.101 H 248.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#1F588A
RGBrgb(31, 88, 138)
HSLhsl(208, 63%, 33%)
HSVhsv(208, 78%, 54%)
CMYKcmyk(77.5%, 36.2%, 0%, 45.9%)
CIE-LABlab(36.19, -0.11, -33.05)
CIE-LCHlch(36.19, 33.05, 269.80°)
OKLaboklab(44.9% -0.0366 -0.094)
OKLCHoklch(44.9% 0.101 248.7)
XYZxyz(8.6405, 9.1047, 25.3418)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F588A #8A511F
analogous
#1F8A86 #1F588A #1F238A
triadic
#1F588A #8A1F58 #588A1F
tetradic
#1F588A #861F8A #8A511F #238A1F
square
#1F588A #861F8A #8A511F #238A1F
split-complementary
#1F588A #8A1F23 #8A861F
monochromatic
#091826 #143858 #1F588A #2A78BC #4C96D7

Accessibility & contrast

On white

7.44
#1F588A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F588A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F588A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F588A#FFFFFF#000000##FFFFFF
##1F588A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f588a;
/* rgb */ color: rgb(31, 88, 138);
/* oklch */ color: oklch(44.9% 0.101 248.7);
Tailwind
colors: {
  custom: {
    50: '#6b86ac',
    500: '#1f588a',
    950: '#000000',
  },
}
SCSS
$custom: #1f588a;
$custom-light: #6b86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f588a",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 138
  },
  "hsl": {
    "h": 208.037,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.10089,
    "h": 248.7
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#1F588A
secondary
#BA7F4B
accent
#8F41E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F588A

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

Preview Lab → · Contrast checker → · Palette generator →

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