#1F5779#1F5779

#1F5779 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.7% C 0.080 H 239.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1F5779
RGBrgb(31, 87, 121)
HSLhsl(203, 59%, 30%)
HSVhsv(203, 74%, 47%)
CMYKcmyk(74.4%, 28.1%, 0%, 52.5%)
CIE-LABlab(34.98, -6.01, -24.52)
CIE-LCHlch(34.98, 25.24, 256.23°)
OKLaboklab(43.66% -0.0411 -0.0692)
OKLCHoklch(43.66% 0.08 239.3)
XYZxyz(7.4231, 8.4873, 19.3325)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5779 #79411F
analogous
#1F796E #1F5779 #1F2A79
triadic
#1F5779 #791F57 #57791F
tetradic
#1F5779 #6E1F79 #79411F #2A791F
square
#1F5779 #6E1F79 #79411F #2A791F
split-complementary
#1F5779 #791F2A #796E1F
monochromatic
#061218 #133448 #1F5779 #2B7AAA #439ACF

Accessibility & contrast

On white

7.78
#1F5779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5779
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5779#FFFFFF#000000##FFFFFF
##1F57791.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5779;
/* rgb */ color: rgb(31, 87, 121);
/* oklch */ color: oklch(43.7% 0.080 239.3);
Tailwind
colors: {
  custom: {
    50: '#6786a0',
    500: '#1f5779',
    950: '#000000',
  },
}
SCSS
$custom: #1f5779;
$custom-light: #6786a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5779",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 202.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.08046,
    "h": 239.3
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#1F5779
secondary
#AC6E47
accent
#8145E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5779

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

Preview Lab → · Contrast checker → · Palette generator →

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