#1F5679#1F5679

#1F5679 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.4% C 0.081 H 240.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1F5679
RGBrgb(31, 86, 121)
HSLhsl(203, 59%, 30%)
HSVhsv(203, 74%, 47%)
CMYKcmyk(74.4%, 28.9%, 0%, 52.5%)
CIE-LABlab(34.65, -5.39, -25.02)
CIE-LCHlch(34.65, 25.60, 257.85°)
OKLaboklab(43.4% -0.04 -0.0706)
OKLCHoklch(43.4% 0.081 240.5)
XYZxyz(7.3427, 8.3265, 19.3057)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5679 #79421F
analogous
#1F796F #1F5679 #1F2979
triadic
#1F5679 #791F56 #56791F
tetradic
#1F5679 #6F1F79 #79421F #29791F
square
#1F5679 #6F1F79 #79421F #29791F
split-complementary
#1F5679 #791F29 #796F1F
monochromatic
#061118 #133348 #1F5679 #2B79AA #4399CF

Accessibility & contrast

On white

7.88
#1F5679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F5679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5679
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5679#FFFFFF#000000##FFFFFF
##1F56791.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567B
Deuteranopia (green-blind)
#394E78
Tritanopia (blue-blind)
#005F62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5679;
/* rgb */ color: rgb(31, 86, 121);
/* oklch */ color: oklch(43.4% 0.081 240.5);
Tailwind
colors: {
  custom: {
    50: '#6785a0',
    500: '#1f5679',
    950: '#000000',
  },
}
SCSS
$custom: #1f5679;
$custom-light: #6785a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5679",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 121
  },
  "hsl": {
    "h": 203.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.434,
    "c": 0.0812,
    "h": 240.5
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#1F5679
secondary
#AC6F47
accent
#8245E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5679

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

Preview Lab → · Contrast checker → · Palette generator →

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