#1F5588#1F5588

#1F5588 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.101 H 250.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#1F5588
RGBrgb(31, 85, 136)
HSLhsl(209, 63%, 33%)
HSVhsv(209, 77%, 53%)
CMYKcmyk(77.2%, 37.5%, 0%, 46.7%)
CIE-LABlab(35.13, 1.03, -33.50)
CIE-LCHlch(35.13, 33.51, 271.77°)
OKLaboklab(44.04% -0.0343 -0.0954)
OKLCHoklch(44.04% 0.101 250.2)
XYZxyz(8.2558, 8.5649, 24.5059)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5588 #88521F
analogous
#1F8886 #1F5588 #1F2088
triadic
#1F5588 #881F55 #55881F
tetradic
#1F5588 #861F88 #88521F #20881F
square
#1F5588 #861F88 #88521F #20881F
split-complementary
#1F5588 #881F20 #88861F
monochromatic
#081724 #143656 #1F5588 #2A74BA #4B93D6

Accessibility & contrast

On white

7.74
#1F5588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F5588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5588
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5588#FFFFFF#000000##FFFFFF
##1F55881.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5588;
/* rgb */ color: rgb(31, 85, 136);
/* oklch */ color: oklch(44.0% 0.101 250.2);
Tailwind
colors: {
  custom: {
    50: '#6a84ab',
    500: '#1f5588',
    950: '#000000',
  },
}
SCSS
$custom: #1f5588;
$custom-light: #6a84ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5588",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 136
  },
  "hsl": {
    "h": 209.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.10133,
    "h": 250.2
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F5588

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

Preview Lab → · Contrast checker → · Palette generator →

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