#1F5D76#1F5D76

#1F5D76 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.1% C 0.074 H 228.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#1F5D76
RGBrgb(31, 93, 118)
HSLhsl(197, 58%, 29%)
HSVhsv(197, 74%, 46%)
CMYKcmyk(73.7%, 21.2%, 0%, 53.7%)
CIE-LABlab(36.79, -10.76, -19.84)
CIE-LCHlch(36.79, 22.57, 241.53°)
OKLaboklab(45.06% -0.0488 -0.0556)
OKLCHoklch(45.06% 0.074 228.7)
XYZxyz(7.7481, 9.4271, 18.5473)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D76 #76381F
analogous
#1F7664 #1F5D76 #1F3276
triadic
#1F5D76 #761F5D #5D761F
tetradic
#1F5D76 #641F76 #76381F #32761F
square
#1F5D76 #641F76 #76381F #32761F
split-complementary
#1F5D76 #761F32 #76641F
monochromatic
#061318 #123746 #1F5D76 #2C83A6 #42A5CD

Accessibility & contrast

On white

7.28
#1F5D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1F5D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D76
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D76#FFFFFF#000000##FFFFFF
##1F5D761.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B77
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#006465
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f5d76;
/* rgb */ color: rgb(31, 93, 118);
/* oklch */ color: oklch(45.1% 0.074 228.7);
Tailwind
colors: {
  custom: {
    50: '#678b9d',
    500: '#1f5d76',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d76;
$custom-light: #678b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d76",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 118
  },
  "hsl": {
    "h": 197.241,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45056,
    "c": 0.07399,
    "h": 228.7
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#1F5D76
secondary
#AA6347
accent
#7346E2
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5D76

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

Preview Lab → · Contrast checker → · Palette generator →

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