#1F5876#1F5876

#1F5876 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.076 H 235.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1F5876
RGBrgb(31, 88, 118)
HSLhsl(201, 58%, 29%)
HSVhsv(201, 74%, 46%)
CMYKcmyk(73.7%, 25.4%, 0%, 53.7%)
CIE-LABlab(35.16, -7.75, -22.38)
CIE-LCHlch(35.16, 23.68, 250.90°)
OKLaboklab(43.75% -0.0433 -0.063)
OKLCHoklch(43.75% 0.076 235.5)
XYZxyz(7.3235, 8.5779, 18.4058)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5876 #763D1F
analogous
#1F7669 #1F5876 #1F2D76
triadic
#1F5876 #761F58 #58761F
tetradic
#1F5876 #691F76 #763D1F #2D761F
square
#1F5876 #691F76 #763D1F #2D761F
split-complementary
#1F5876 #761F2D #76691F
monochromatic
#061218 #123446 #1F5876 #2C7CA6 #429DCD

Accessibility & contrast

On white

7.73
#1F5876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F5876
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5876#FFFFFF#000000##FFFFFF
##1F58761.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5777
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#006062
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5876;
/* rgb */ color: rgb(31, 88, 118);
/* oklch */ color: oklch(43.8% 0.076 235.5);
Tailwind
colors: {
  custom: {
    50: '#67879d',
    500: '#1f5876',
    950: '#000000',
  },
}
SCSS
$custom: #1f5876;
$custom-light: #67879d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5876",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 118
  },
  "hsl": {
    "h": 200.69,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.07642,
    "h": 235.5
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#1F5876
secondary
#AA6947
accent
#7C46E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5876

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

Preview Lab → · Contrast checker → · Palette generator →

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