#1F577E#1F577E

#1F577E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.086 H 242.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#1F577E
RGBrgb(31, 87, 126)
HSLhsl(205, 61%, 31%)
HSVhsv(205, 75%, 49%)
CMYKcmyk(75.4%, 31%, 0%, 50.6%)
CIE-LABlab(35.23, -4.11, -27.21)
CIE-LCHlch(35.23, 27.52, 261.41°)
OKLaboklab(43.94% -0.0394 -0.077)
OKLCHoklch(43.94% 0.086 242.9)
XYZxyz(7.7377, 8.6132, 20.9893)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F577E #7E461F
analogous
#1F7E75 #1F577E #1F277E
triadic
#1F577E #7E1F57 #577E1F
tetradic
#1F577E #751F7E #7E461F #277E1F
square
#1F577E #751F7E #7E461F #277E1F
split-complementary
#1F577E #7E1F27 #7E751F
monochromatic
#07131C #13354D #1F577E #2B79AF #4698D1

Accessibility & contrast

On white

7.71
#1F577E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F577E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F577E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F577E#FFFFFF#000000##FFFFFF
##1F577E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f577e;
/* rgb */ color: rgb(31, 87, 126);
/* oklch */ color: oklch(43.9% 0.086 242.9);
Tailwind
colors: {
  custom: {
    50: '#6886a3',
    500: '#1f577e',
    950: '#000000',
  },
}
SCSS
$custom: #1f577e;
$custom-light: #6886a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f577e",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 204.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.08647,
    "h": 242.9
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#1F577E
secondary
#B17348
accent
#8644E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F577E

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

Preview Lab → · Contrast checker → · Palette generator →

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