#1F5F76#1F5F76

#1F5F76 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 45.6% C 0.073 H 226.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#1F5F76
RGBrgb(31, 95, 118)
HSLhsl(196, 58%, 29%)
HSVhsv(196, 74%, 46%)
CMYKcmyk(73.7%, 19.5%, 0%, 53.7%)
CIE-LABlab(37.45, -11.94, -18.83)
CIE-LCHlch(37.45, 22.30, 237.62°)
OKLaboklab(45.58% -0.051 -0.0527)
OKLCHoklch(45.58% 0.073 226)
XYZxyz(7.9260, 9.7828, 18.6066)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F76 #76361F
analogous
#1F7662 #1F5F76 #1F3476
triadic
#1F5F76 #761F5F #5F761F
tetradic
#1F5F76 #621F76 #76361F #34761F
square
#1F5F76 #621F76 #76361F #34761F
split-complementary
#1F5F76 #761F34 #76621F
monochromatic
#061418 #123846 #1F5F76 #2C86A6 #42A9CD

Accessibility & contrast

On white

7.10
#1F5F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1F5F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5F76
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F76#FFFFFF#000000##FFFFFF
##1F5F761.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D77
Deuteranopia (green-blind)
#475476
Tritanopia (blue-blind)
#006666
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5f76;
/* rgb */ color: rgb(31, 95, 118);
/* oklch */ color: oklch(45.6% 0.073 226.0);
Tailwind
colors: {
  custom: {
    50: '#678c9d',
    500: '#1f5f76',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f76;
$custom-light: #678c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f76",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 118
  },
  "hsl": {
    "h": 195.862,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.07334,
    "h": 226
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#1F5F76
secondary
#AA6147
accent
#6F46E2
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #1F5F76

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

Preview Lab → · Contrast checker → · Palette generator →

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