#1F5889#1F5889

#1F5889 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.8% C 0.100 H 248.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#1F5889
RGBrgb(31, 88, 137)
HSLhsl(208, 63%, 33%)
HSVhsv(208, 77%, 54%)
CMYKcmyk(77.4%, 35.8%, 0%, 46.3%)
CIE-LABlab(36.13, -0.50, -32.53)
CIE-LCHlch(36.13, 32.53, 269.11°)
OKLaboklab(44.84% -0.0369 -0.0925)
OKLCHoklch(44.84% 0.1 248.2)
XYZxyz(8.5684, 9.0759, 24.9623)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5889 #89501F
analogous
#1F8985 #1F5889 #1F2389
triadic
#1F5889 #891F58 #58891F
tetradic
#1F5889 #851F89 #89501F #23891F
square
#1F5889 #851F89 #89501F #23891F
split-complementary
#1F5889 #891F23 #89851F
monochromatic
#081825 #143857 #1F5889 #2A78BB #4C96D6

Accessibility & contrast

On white

7.46
#1F5889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#1F5889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5889
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5889#FFFFFF#000000##FFFFFF
##1F58891.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8B
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5889;
/* rgb */ color: rgb(31, 88, 137);
/* oklch */ color: oklch(44.8% 0.100 248.2);
Tailwind
colors: {
  custom: {
    50: '#6b86ab',
    500: '#1f5889',
    950: '#000000',
  },
}
SCSS
$custom: #1f5889;
$custom-light: #6b86ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5889",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 137
  },
  "hsl": {
    "h": 207.736,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.09957,
    "h": 248.2
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#1F5889
secondary
#B97E4B
accent
#8E42E6
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1F5889

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

Preview Lab → · Contrast checker → · Palette generator →

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