#1F577A#1F577A

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

Color values

HEX#1F577A
RGBrgb(31, 87, 122)
HSLhsl(203, 59%, 30%)
HSVhsv(203, 75%, 48%)
CMYKcmyk(74.6%, 28.7%, 0%, 52.2%)
CIE-LABlab(35.03, -5.63, -25.06)
CIE-LCHlch(35.03, 25.68, 257.34°)
OKLaboklab(43.71% -0.0408 -0.0707)
OKLCHoklch(43.71% 0.082 240)
XYZxyz(7.4848, 8.5120, 19.6571)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F577A #7A421F
analogous
#1F7A70 #1F577A #1F297A
triadic
#1F577A #7A1F57 #577A1F
tetradic
#1F577A #701F7A #7A421F #297A1F
square
#1F577A #701F7A #7A421F #297A1F
split-complementary
#1F577A #7A1F29 #7A701F
monochromatic
#061118 #133449 #1F577A #2B7AAB #449ACF

Accessibility & contrast

On white

7.77
#1F577A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F577A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F577A#FFFFFF#000000##FFFFFF
##1F577A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f577a;
/* rgb */ color: rgb(31, 87, 122);
/* oklch */ color: oklch(43.7% 0.082 240.0);
Tailwind
colors: {
  custom: {
    50: '#6886a0',
    500: '#1f577a',
    950: '#000000',
  },
}
SCSS
$custom: #1f577a;
$custom-light: #6886a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f577a",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 203.077,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.08163,
    "h": 240
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#1F577A
secondary
#AD6F47
accent
#8245E3
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F577A

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

Preview Lab → · Contrast checker → · Palette generator →

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