#1F5589#1F5589

#1F5589 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.103 H 250.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#1F5589
RGBrgb(31, 85, 137)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 54%)
CMYKcmyk(77.4%, 38%, 0%, 46.3%)
CIE-LABlab(35.19, 1.43, -34.02)
CIE-LCHlch(35.19, 34.05, 272.40°)
OKLaboklab(44.1% -0.034 -0.0969)
OKLCHoklch(44.1% 0.103 250.7)
XYZxyz(8.3272, 8.5935, 24.8819)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5589 #89531F
analogous
#1F8988 #1F5589 #1F2089
triadic
#1F5589 #891F55 #55891F
tetradic
#1F5589 #881F89 #89531F #20891F
square
#1F5589 #881F89 #89531F #20891F
split-complementary
#1F5589 #891F20 #89881F
monochromatic
#081725 #143657 #1F5589 #2A74BB #4C93D6

Accessibility & contrast

On white

7.72
#1F5589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F5589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5589
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5589#FFFFFF#000000##FFFFFF
##1F55891.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5589;
/* rgb */ color: rgb(31, 85, 137);
/* oklch */ color: oklch(44.1% 0.103 250.7);
Tailwind
colors: {
  custom: {
    50: '#6b84ac',
    500: '#1f5589',
    950: '#000000',
  },
}
SCSS
$custom: #1f5589;
$custom-light: #6b84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5589",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 137
  },
  "hsl": {
    "h": 209.434,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44102,
    "c": 0.10267,
    "h": 250.7
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#1F5589
secondary
#B9814B
accent
#9242E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1F5589

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

Preview Lab → · Contrast checker → · Palette generator →

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