#1F577F#1F577F

#1F577F is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.088 H 243.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#1F577F
RGBrgb(31, 87, 127)
HSLhsl(205, 61%, 31%)
HSVhsv(205, 76%, 50%)
CMYKcmyk(75.6%, 31.5%, 0%, 50.2%)
CIE-LABlab(35.28, -3.73, -27.74)
CIE-LCHlch(35.28, 27.99, 262.35°)
OKLaboklab(44% -0.039 -0.0785)
OKLCHoklch(44% 0.088 243.6)
XYZxyz(7.8026, 8.6391, 21.3309)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F577F #7F471F
analogous
#1F7F77 #1F577F #1F277F
triadic
#1F577F #7F1F57 #577F1F
tetradic
#1F577F #771F7F #7F471F #277F1F
square
#1F577F #771F7F #7F471F #277F1F
split-complementary
#1F577F #7F1F27 #7F771F
monochromatic
#07141D #13354E #1F577F #2B79B0 #4698D2

Accessibility & contrast

On white

7.70
#1F577F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F577F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F577F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F577F#FFFFFF#000000##FFFFFF
##1F577F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455881
Deuteranopia (green-blind)
#374F7E
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f577f;
/* rgb */ color: rgb(31, 87, 127);
/* oklch */ color: oklch(44.0% 0.088 243.6);
Tailwind
colors: {
  custom: {
    50: '#6986a4',
    500: '#1f577f',
    950: '#000000',
  },
}
SCSS
$custom: #1f577f;
$custom-light: #6986a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f577f",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 205,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.0877,
    "h": 243.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#1F577F
secondary
#B27448
accent
#8744E4
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1F577F

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

Preview Lab → · Contrast checker → · Palette generator →

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