#1F5579#1F5579

#1F5579 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.1% C 0.082 H 241.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#1F5579
RGBrgb(31, 85, 121)
HSLhsl(204, 59%, 30%)
HSVhsv(204, 74%, 47%)
CMYKcmyk(74.4%, 29.8%, 0%, 52.5%)
CIE-LABlab(34.33, -4.76, -25.53)
CIE-LCHlch(34.33, 25.97, 259.44°)
OKLaboklab(43.14% -0.039 -0.0721)
OKLCHoklch(43.14% 0.082 241.6)
XYZxyz(7.2634, 8.1680, 19.2792)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5579 #79431F
analogous
#1F7970 #1F5579 #1F2879
triadic
#1F5579 #791F55 #55791F
tetradic
#1F5579 #701F79 #79431F #28791F
square
#1F5579 #701F79 #79431F #28791F
split-complementary
#1F5579 #791F28 #79701F
monochromatic
#061118 #133348 #1F5579 #2B77AA #4397CF

Accessibility & contrast

On white

7.97
#1F5579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1F5579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5579
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5579#FFFFFF#000000##FFFFFF
##1F55791.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567B
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#005E62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5579;
/* rgb */ color: rgb(31, 85, 121);
/* oklch */ color: oklch(43.1% 0.082 241.6);
Tailwind
colors: {
  custom: {
    50: '#6784a0',
    500: '#1f5579',
    950: '#000000',
  },
}
SCSS
$custom: #1f5579;
$custom-light: #6784a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5579",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 121
  },
  "hsl": {
    "h": 204,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.08197,
    "h": 241.6
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#1F5579
secondary
#AC7047
accent
#8445E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5579

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

Preview Lab → · Contrast checker → · Palette generator →

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