#1F577B#1F577B

#1F577B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.8% C 0.083 H 240.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#1F577B
RGBrgb(31, 87, 123)
HSLhsl(203, 60%, 30%)
HSVhsv(203, 75%, 48%)
CMYKcmyk(74.8%, 29.3%, 0%, 51.8%)
CIE-LABlab(35.08, -5.25, -25.60)
CIE-LCHlch(35.08, 26.13, 258.40°)
OKLaboklab(43.77% -0.0404 -0.0723)
OKLCHoklch(43.77% 0.083 240.8)
XYZxyz(7.5470, 8.5369, 19.9851)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F577B #7B431F
analogous
#1F7B71 #1F577B #1F297B
triadic
#1F577B #7B1F57 #577B1F
tetradic
#1F577B #711F7B #7B431F #297B1F
square
#1F577B #711F7B #7B431F #297B1F
split-complementary
#1F577B #7B1F29 #7B711F
monochromatic
#061219 #13344A #1F577B #2B7AAC #4499D0

Accessibility & contrast

On white

7.76
#1F577B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#1F577B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F577B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F577B#FFFFFF#000000##FFFFFF
##1F577B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#3A4F7A
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f577b;
/* rgb */ color: rgb(31, 87, 123);
/* oklch */ color: oklch(43.8% 0.083 240.8);
Tailwind
colors: {
  custom: {
    50: '#6886a1',
    500: '#1f577b',
    950: '#000000',
  },
}
SCSS
$custom: #1f577b;
$custom-light: #6886a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f577b",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 203.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.08282,
    "h": 240.8
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#1F577B
secondary
#AE7048
accent
#8345E3
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #1F577B

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

Preview Lab → · Contrast checker → · Palette generator →

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