#1F588F#1F588F

#1F588F is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.108 H 250.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#1F588F
RGBrgb(31, 88, 143)
HSLhsl(209, 64%, 34%)
HSVhsv(209, 78%, 56%)
CMYKcmyk(78.3%, 38.5%, 0%, 43.9%)
CIE-LABlab(36.47, 1.84, -35.64)
CIE-LCHlch(36.47, 35.69, 272.95°)
OKLaboklab(45.21% -0.0352 -0.1016)
OKLCHoklch(45.21% 0.108 250.9)
XYZxyz(9.0109, 9.2529, 27.2924)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F588F #8F561F
analogous
#1F8F8E #1F588F #1F208F
triadic
#1F588F #8F1F58 #588F1F
tetradic
#1F588F #8E1F8F #8F561F #208F1F
square
#1F588F #8E1F8F #8F561F #208F1F
split-complementary
#1F588F #8F1F20 #8F8E1F
monochromatic
#091A2A #14395D #1F588F #2A77C1 #4F95D9

Accessibility & contrast

On white

7.37
#1F588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#1F588F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F588F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F588F#FFFFFF#000000##FFFFFF
##1F588F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#2D518E
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1f588f;
/* rgb */ color: rgb(31, 88, 143);
/* oklch */ color: oklch(45.2% 0.108 250.9);
Tailwind
colors: {
  custom: {
    50: '#6c86b0',
    500: '#1f588f',
    950: '#000000',
  },
}
SCSS
$custom: #1f588f;
$custom-light: #6c86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f588f",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 209.464,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.10754,
    "h": 250.9
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#1F588F
secondary
#BC844E
accent
#9240E7
background
#F6F8FA
surface
#ECEFF5
border
#C7CACF
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F588F

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

Preview Lab → · Contrast checker → · Palette generator →

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