#1F589B#1F589B

#1F589B is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.124 H 254.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F589B
RGBrgb(31, 88, 155)
HSLhsl(212, 67%, 36%)
HSVhsv(212, 80%, 61%)
CMYKcmyk(80%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.18, 6.57, -41.75)
CIE-LCHlch(37.18, 42.26, 278.94°)
OKLaboklab(46% -0.0323 -0.1195)
OKLCHoklch(46% 0.124 254.9)
XYZxyz(9.9690, 9.6361, 32.3385)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589B #9B621F
analogous
#1F969B #1F589B #241F9B
triadic
#1F589B #9B1F58 #589B1F
tetradic
#1F589B #9B1F96 #9B621F #1F9B24
square
#1F589B #9B1F96 #9B621F #1F9B24
split-complementary
#1F589B #9B241F #969B1F
monochromatic
#0B1E35 #153B68 #1F589B #2975CE #5795DD

Accessibility & contrast

On white

7.17
#1F589B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F589B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F589B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589B#FFFFFF#000000##FFFFFF
##1F589B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#20529A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f589b;
/* rgb */ color: rgb(31, 88, 155);
/* oklch */ color: oklch(46.0% 0.124 254.9);
Tailwind
colors: {
  custom: {
    50: '#6f86b9',
    500: '#1f589b',
    950: '#000000',
  },
}
SCSS
$custom: #1f589b;
$custom-light: #6f86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589b",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 212.419,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.12381,
    "h": 254.9
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#1F589B
secondary
#C18F55
accent
#9B3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F589B

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

Preview Lab → · Contrast checker → · Palette generator →

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