#1F5376#1F5376

#1F5376 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.5% C 0.080 H 241.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#1F5376
RGBrgb(31, 83, 118)
HSLhsl(204, 58%, 29%)
HSVhsv(204, 74%, 46%)
CMYKcmyk(73.7%, 29.7%, 0%, 53.7%)
CIE-LABlab(33.53, -4.64, -24.92)
CIE-LCHlch(33.53, 25.35, 259.44°)
OKLaboklab(42.46% -0.0378 -0.0704)
OKLCHoklch(42.46% 0.08 241.7)
XYZxyz(6.9271, 7.7851, 18.2736)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5376 #76421F
analogous
#1F766E #1F5376 #1F2876
triadic
#1F5376 #761F53 #53761F
tetradic
#1F5376 #6E1F76 #76421F #28761F
square
#1F5376 #6E1F76 #76421F #28761F
split-complementary
#1F5376 #761F28 #766E1F
monochromatic
#061118 #123146 #1F5376 #2C75A6 #4295CD

Accessibility & contrast

On white

8.21
#1F5376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F5376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5376
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5376#FFFFFF#000000##FFFFFF
##1F53761.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435378
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#005C5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f5376;
/* rgb */ color: rgb(31, 83, 118);
/* oklch */ color: oklch(42.5% 0.080 241.7);
Tailwind
colors: {
  custom: {
    50: '#67839d',
    500: '#1f5376',
    950: '#000000',
  },
}
SCSS
$custom: #1f5376;
$custom-light: #67839d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5376",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 118
  },
  "hsl": {
    "h": 204.138,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.0799,
    "h": 241.7
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#1F5376
secondary
#AA6F47
accent
#8546E2
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5376

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

Preview Lab → · Contrast checker → · Palette generator →

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