#1F5877#1F5877

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

Color values

HEX#1F5877
RGBrgb(31, 88, 119)
HSLhsl(201, 59%, 29%)
HSVhsv(201, 74%, 47%)
CMYKcmyk(73.9%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.21, -7.37, -22.92)
CIE-LCHlch(35.21, 24.08, 252.17°)
OKLaboklab(43.81% -0.0429 -0.0645)
OKLCHoklch(43.81% 0.078 236.4)
XYZxyz(7.3833, 8.6018, 18.7204)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5877 #773E1F
analogous
#1F776A #1F5877 #1F2C77
triadic
#1F5877 #771F58 #58771F
tetradic
#1F5877 #6A1F77 #773E1F #2C771F
square
#1F5877 #6A1F77 #773E1F #2C771F
split-complementary
#1F5877 #771F2C #776A1F
monochromatic
#061218 #123446 #1F5877 #2C7CA8 #439DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F5877#FFFFFF#000000##FFFFFF
##1F58771.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)
#495878
Deuteranopia (green-blind)
#3D4F76
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5877;
/* rgb */ color: rgb(31, 88, 119);
/* oklch */ color: oklch(43.8% 0.078 236.4);
Tailwind
colors: {
  custom: {
    50: '#67879e',
    500: '#1f5877',
    950: '#000000',
  },
}
SCSS
$custom: #1f5877;
$custom-light: #67879e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5877",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 201.136,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.07751,
    "h": 236.4
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#1F5877
secondary
#AB6A47
accent
#7D46E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5877

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

Preview Lab → · Contrast checker → · Palette generator →

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