#1F589E#1F589E

#1F589E is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.2% C 0.128 H 255.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#1F589E
RGBrgb(31, 88, 158)
HSLhsl(213, 67%, 37%)
HSVhsv(213, 80%, 62%)
CMYKcmyk(80.4%, 44.3%, 0%, 38%)
CIE-LABlab(37.37, 7.76, -43.25)
CIE-LCHlch(37.37, 43.94, 280.17°)
OKLaboklab(46.21% -0.0316 -0.1239)
OKLCHoklch(46.21% 0.128 255.7)
XYZxyz(10.2241, 9.7382, 33.6819)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589E #9E651F
analogous
#1F989E #1F589E #261F9E
triadic
#1F589E #9E1F58 #589E1F
tetradic
#1F589E #9E1F98 #9E651F #1F9E26
square
#1F589E #9E1F98 #9E651F #1F9E26
split-complementary
#1F589E #9E261F #989E1F
monochromatic
#0B1F38 #153C6B #1F589E #2974D1 #5995DE

Accessibility & contrast

On white

7.12
#1F589E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F589E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F589E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589E#FFFFFF#000000##FFFFFF
##1F589E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f589e;
/* rgb */ color: rgb(31, 88, 158);
/* oklch */ color: oklch(46.2% 0.128 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f86bb',
    500: '#1f589e',
    950: '#000000',
  },
}
SCSS
$custom: #1f589e;
$custom-light: #6f86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589e",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 213.071,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46208,
    "c": 0.12791,
    "h": 255.7
  },
  "luminance": 0.09739
}

Semantic roles & 50–950 ramp

primary
#1F589E
secondary
#C29256
accent
#9D3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F589E

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

Preview Lab → · Contrast checker → · Palette generator →

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