#1F589C#1F589C

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

Color values

HEX#1F589C
RGBrgb(31, 88, 156)
HSLhsl(213, 67%, 37%)
HSVhsv(213, 80%, 61%)
CMYKcmyk(80.1%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.24, 6.96, -42.25)
CIE-LCHlch(37.24, 42.82, 279.36°)
OKLaboklab(46.07% -0.0321 -0.121)
OKLCHoklch(46.07% 0.125 255.1)
XYZxyz(10.0533, 9.6699, 32.7827)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589C #9C631F
analogous
#1F979C #1F589C #251F9C
triadic
#1F589C #9C1F58 #589C1F
tetradic
#1F589C #9C1F97 #9C631F #1F9C25
square
#1F589C #9C1F97 #9C631F #1F9C25
split-complementary
#1F589C #9C251F #979C1F
monochromatic
#0B1E36 #153B69 #1F589C #2975CF #5895DE

Accessibility & contrast

On white

7.16
#1F589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F589C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589C#FFFFFF#000000##FFFFFF
##1F589C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f589c;
/* rgb */ color: rgb(31, 88, 156);
/* oklch */ color: oklch(46.1% 0.125 255.1);
Tailwind
colors: {
  custom: {
    50: '#6f86ba',
    500: '#1f589c',
    950: '#000000',
  },
}
SCSS
$custom: #1f589c;
$custom-light: #6f86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589c",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 212.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.12517,
    "h": 255.1
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F589C

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

Preview Lab → · Contrast checker → · Palette generator →

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