#1F577D#1F577D

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

Color values

HEX#1F577D
RGBrgb(31, 87, 125)
HSLhsl(204, 60%, 31%)
HSVhsv(204, 75%, 49%)
CMYKcmyk(75.2%, 30.4%, 0%, 51%)
CIE-LABlab(35.18, -4.49, -26.67)
CIE-LCHlch(35.18, 27.05, 260.44°)
OKLaboklab(43.88% -0.0397 -0.0754)
OKLCHoklch(43.88% 0.085 242.2)
XYZxyz(7.6735, 8.5875, 20.6512)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F577D #7D451F
analogous
#1F7D74 #1F577D #1F287D
triadic
#1F577D #7D1F57 #577D1F
tetradic
#1F577D #741F7D #7D451F #287D1F
square
#1F577D #741F7D #7D451F #287D1F
split-complementary
#1F577D #7D1F28 #7D741F
monochromatic
#07131B #13354C #1F577D #2B79AE #4599D1

Accessibility & contrast

On white

7.73
#1F577D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F577D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F577D#FFFFFF#000000##FFFFFF
##1F577D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f577d;
/* rgb */ color: rgb(31, 87, 125);
/* oklch */ color: oklch(43.9% 0.085 242.2);
Tailwind
colors: {
  custom: {
    50: '#6886a3',
    500: '#1f577d',
    950: '#000000',
  },
}
SCSS
$custom: #1f577d;
$custom-light: #6886a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f577d",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 204.255,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.08524,
    "h": 242.2
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#1F577D
secondary
#B07248
accent
#8544E3
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F577D

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

Preview Lab → · Contrast checker → · Palette generator →

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