#1F5976#1F5976

#1F5976 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.076 H 234.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1F5976
RGBrgb(31, 89, 118)
HSLhsl(200, 58%, 29%)
HSVhsv(200, 74%, 46%)
CMYKcmyk(73.7%, 24.6%, 0%, 53.7%)
CIE-LABlab(35.49, -8.36, -21.87)
CIE-LCHlch(35.49, 23.41, 249.09°)
OKLaboklab(44.01% -0.0444 -0.0615)
OKLCHoklch(44.01% 0.076 234.2)
XYZxyz(7.4062, 8.7432, 18.4333)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5976 #763C1F
analogous
#1F7668 #1F5976 #1F2E76
triadic
#1F5976 #761F59 #59761F
tetradic
#1F5976 #681F76 #763C1F #2E761F
square
#1F5976 #681F76 #763C1F #2E761F
split-complementary
#1F5976 #761F2E #76681F
monochromatic
#061218 #123446 #1F5976 #2C7EA6 #429FCD

Accessibility & contrast

On white

7.64
#1F5976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1F5976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5976
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5976#FFFFFF#000000##FFFFFF
##1F59761.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#006163
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5976;
/* rgb */ color: rgb(31, 89, 118);
/* oklch */ color: oklch(44.0% 0.076 234.2);
Tailwind
colors: {
  custom: {
    50: '#67879d',
    500: '#1f5976',
    950: '#000000',
  },
}
SCSS
$custom: #1f5976;
$custom-light: #67879d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5976",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 118
  },
  "hsl": {
    "h": 200,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.07585,
    "h": 234.2
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#1F5976
secondary
#AA6847
accent
#7A46E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5976

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

Preview Lab → · Contrast checker → · Palette generator →

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