#1F5576#1F5576

#1F5576 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.0% C 0.078 H 239.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1F5576
RGBrgb(31, 85, 118)
HSLhsl(203, 58%, 29%)
HSVhsv(203, 74%, 46%)
CMYKcmyk(73.7%, 28%, 0%, 53.7%)
CIE-LABlab(34.18, -5.90, -23.90)
CIE-LCHlch(34.18, 24.62, 256.14°)
OKLaboklab(42.98% -0.04 -0.0674)
OKLCHoklch(42.98% 0.078 239.3)
XYZxyz(7.0823, 8.0955, 18.3254)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5576 #76401F
analogous
#1F766C #1F5576 #1F2A76
triadic
#1F5576 #761F55 #55761F
tetradic
#1F5576 #6C1F76 #76401F #2A761F
square
#1F5576 #6C1F76 #76401F #2A761F
split-complementary
#1F5576 #761F2A #766C1F
monochromatic
#061118 #123246 #1F5576 #2C78A6 #4299CD

Accessibility & contrast

On white

8.02
#1F5576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1F5576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5576
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5576#FFFFFF#000000##FFFFFF
##1F55761.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465578
Deuteranopia (green-blind)
#3A4D75
Tritanopia (blue-blind)
#005D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f5576;
/* rgb */ color: rgb(31, 85, 118);
/* oklch */ color: oklch(43.0% 0.078 239.3);
Tailwind
colors: {
  custom: {
    50: '#67849d',
    500: '#1f5576',
    950: '#000000',
  },
}
SCSS
$custom: #1f5576;
$custom-light: #67849d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5576",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 118
  },
  "hsl": {
    "h": 202.759,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.0784,
    "h": 239.3
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#1F5576
secondary
#AA6D47
accent
#8146E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5576

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

Preview Lab → · Contrast checker → · Palette generator →

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