#1F5979#1F5979

#1F5979 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.079 H 236.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#1F5979
RGBrgb(31, 89, 121)
HSLhsl(201, 59%, 30%)
HSVhsv(201, 74%, 47%)
CMYKcmyk(74.4%, 26.4%, 0%, 52.5%)
CIE-LABlab(35.63, -7.24, -23.50)
CIE-LCHlch(35.63, 24.59, 252.87°)
OKLaboklab(44.17% -0.0433 -0.0662)
OKLCHoklch(44.17% 0.079 236.8)
XYZxyz(7.5873, 8.8157, 19.3872)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5979 #793F1F
analogous
#1F796C #1F5979 #1F2C79
triadic
#1F5979 #791F59 #59791F
tetradic
#1F5979 #6C1F79 #793F1F #2C791F
square
#1F5979 #6C1F79 #793F1F #2C791F
split-complementary
#1F5979 #791F2C #796C1F
monochromatic
#061218 #133548 #1F5979 #2B7DAA #439DCF

Accessibility & contrast

On white

7.60
#1F5979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#1F5979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5979
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5979#FFFFFF#000000##FFFFFF
##1F59791.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1f5979;
/* rgb */ color: rgb(31, 89, 121);
/* oklch */ color: oklch(44.2% 0.079 236.8);
Tailwind
colors: {
  custom: {
    50: '#6887a0',
    500: '#1f5979',
    950: '#000000',
  },
}
SCSS
$custom: #1f5979;
$custom-light: #6887a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5979",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 201.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.0791,
    "h": 236.8
  },
  "luminance": 0.08817
}

Semantic roles & 50–950 ramp

primary
#1F5979
secondary
#AC6B47
accent
#7D45E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5979

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

Preview Lab → · Contrast checker → · Palette generator →

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