#1F589F#1F589F

#1F589F is a mid, vivid cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.129 H 255.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1F589F
RGBrgb(31, 88, 159)
HSLhsl(213, 67%, 37%)
HSVhsv(213, 81%, 62%)
CMYKcmyk(80.5%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.43, 8.15, -43.75)
CIE-LCHlch(37.43, 44.50, 280.56°)
OKLaboklab(46.28% -0.0314 -0.1254)
OKLCHoklch(46.28% 0.129 255.9)
XYZxyz(10.3105, 9.7727, 34.1371)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F589F #9F661F
analogous
#1F989F #1F589F #261F9F
triadic
#1F589F #9F1F58 #589F1F
tetradic
#1F589F #9F1F98 #9F661F #1F9F26
square
#1F589F #9F1F98 #9F661F #1F9F26
split-complementary
#1F589F #9F261F #989F1F
monochromatic
#0B1F39 #153C6C #1F589F #2974D2 #5A95DF

Accessibility & contrast

On white

7.11
#1F589F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F589F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F589F#FFFFFF#000000##FFFFFF
##1F589F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f589f;
/* rgb */ color: rgb(31, 88, 159);
/* oklch */ color: oklch(46.3% 0.129 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f86bc',
    500: '#1f589f',
    950: '#000000',
  },
}
SCSS
$custom: #1f589f;
$custom-light: #6f86bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f589f",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 213.281,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.12927,
    "h": 255.9
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F589F

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

Preview Lab → · Contrast checker → · Palette generator →

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