#1F589D#1F589D

#1F589D is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.127 H 255.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#1F589D
RGBrgb(31, 88, 157)
HSLhsl(213, 67%, 37%)
HSVhsv(213, 80%, 62%)
CMYKcmyk(80.3%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.31, 7.36, -42.75)
CIE-LCHlch(37.31, 43.38, 279.77°)
OKLaboklab(46.14% -0.0319 -0.1225)
OKLCHoklch(46.14% 0.127 255.4)
XYZxyz(10.1383, 9.7039, 33.2305)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589D #9D641F
analogous
#1F979D #1F589D #251F9D
triadic
#1F589D #9D1F58 #589D1F
tetradic
#1F589D #9D1F97 #9D641F #1F9D25
square
#1F589D #9D1F97 #9D641F #1F9D25
split-complementary
#1F589D #9D251F #979D1F
monochromatic
#0B1F37 #153B6A #1F589D #2975D0 #5895DE

Accessibility & contrast

On white

7.14
#1F589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#1F589D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F589D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589D#FFFFFF#000000##FFFFFF
##1F589D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#1D539C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f589d;
/* rgb */ color: rgb(31, 88, 157);
/* oklch */ color: oklch(46.1% 0.127 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f86ba',
    500: '#1f589d',
    950: '#000000',
  },
}
SCSS
$custom: #1f589d;
$custom-light: #6f86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589d",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 212.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4614,
    "c": 0.12654,
    "h": 255.4
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#1F589D
secondary
#C29156
accent
#9C3EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #1F589D

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

Preview Lab → · Contrast checker → · Palette generator →

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