#1F589A#1F589A

#1F589A is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.122 H 254.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#1F589A
RGBrgb(31, 88, 154)
HSLhsl(212, 66%, 36%)
HSVhsv(212, 80%, 60%)
CMYKcmyk(79.9%, 42.9%, 0%, 39.6%)
CIE-LABlab(37.12, 6.17, -41.24)
CIE-LCHlch(37.12, 41.70, 278.51°)
OKLaboklab(45.93% -0.0325 -0.118)
OKLCHoklch(45.93% 0.122 254.6)
XYZxyz(9.8854, 9.6027, 31.8981)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589A #9A611F
analogous
#1F969A #1F589A #241F9A
triadic
#1F589A #9A1F58 #589A1F
tetradic
#1F589A #9A1F96 #9A611F #1F9A24
square
#1F589A #9A1F96 #9A611F #1F9A24
split-complementary
#1F589A #9A241F #969A1F
monochromatic
#0A1E34 #153B67 #1F589A #2975CD #5695DD

Accessibility & contrast

On white

7.19
#1F589A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1F589A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F589A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589A#FFFFFF#000000##FFFFFF
##1F589A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f589a;
/* rgb */ color: rgb(31, 88, 154);
/* oklch */ color: oklch(45.9% 0.122 254.6);
Tailwind
colors: {
  custom: {
    50: '#6e86b8',
    500: '#1f589a',
    950: '#000000',
  },
}
SCSS
$custom: #1f589a;
$custom-light: #6e86b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589a",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 212.195,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.12244,
    "h": 254.6
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#1F589A
secondary
#C18E54
accent
#9A3EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F589A

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

Preview Lab → · Contrast checker → · Palette generator →

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