#1F588C#1F588C

#1F588C is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.104 H 249.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#1F588C
RGBrgb(31, 88, 140)
HSLhsl(209, 64%, 34%)
HSVhsv(209, 78%, 55%)
CMYKcmyk(77.9%, 37.1%, 0%, 45.1%)
CIE-LABlab(36.30, 0.66, -34.09)
CIE-LCHlch(36.30, 34.10, 271.12°)
OKLaboklab(45.03% -0.0361 -0.097)
OKLCHoklch(45.03% 0.104 249.6)
XYZxyz(8.7866, 9.1632, 26.1114)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F588C #8C531F
analogous
#1F8C89 #1F588C #1F218C
triadic
#1F588C #8C1F58 #588C1F
tetradic
#1F588C #891F8C #8C531F #218C1F
square
#1F588C #891F8C #8C531F #218C1F
split-complementary
#1F588C #8C1F21 #8C891F
monochromatic
#091928 #14395A #1F588C #2A77BE #4E96D8

Accessibility & contrast

On white

7.41
#1F588C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#1F588C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F588C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F588C#FFFFFF#000000##FFFFFF
##1F588C1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f588c;
/* rgb */ color: rgb(31, 88, 140);
/* oklch */ color: oklch(45.0% 0.104 249.6);
Tailwind
colors: {
  custom: {
    50: '#6b86ae',
    500: '#1f588c',
    950: '#000000',
  },
}
SCSS
$custom: #1f588c;
$custom-light: #6b86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f588c",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 208.624,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.10353,
    "h": 249.6
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#1F588C
secondary
#BB814C
accent
#9041E7
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #1F588C

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

Preview Lab → · Contrast checker → · Palette generator →

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