#1F5872#1F5872

#1F5872 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.5% C 0.072 H 231.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#1F5872
RGBrgb(31, 88, 114)
HSLhsl(199, 57%, 28%)
HSVhsv(199, 73%, 45%)
CMYKcmyk(72.8%, 22.8%, 0%, 55.3%)
CIE-LABlab(34.97, -9.22, -20.19)
CIE-LCHlch(34.97, 22.20, 245.44°)
OKLaboklab(43.54% -0.0448 -0.0567)
OKLCHoklch(43.54% 0.072 231.6)
XYZxyz(7.0909, 8.4849, 17.1804)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5872 #72391F
analogous
#1F7262 #1F5872 #1F2E72
triadic
#1F5872 #721F58 #58721F
tetradic
#1F5872 #621F72 #72391F #2E721F
square
#1F5872 #621F72 #72391F #2E721F
split-complementary
#1F5872 #721F2E #72621F
monochromatic
#071318 #123342 #1F5872 #2C7DA2 #40A0CB

Accessibility & contrast

On white

7.79
#1F5872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5872
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5872#FFFFFF#000000##FFFFFF
##1F58721.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5872;
/* rgb */ color: rgb(31, 88, 114);
/* oklch */ color: oklch(43.5% 0.072 231.6);
Tailwind
colors: {
  custom: {
    50: '#66879a',
    500: '#1f5872',
    950: '#000000',
  },
}
SCSS
$custom: #1f5872;
$custom-light: #66879a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5872",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 198.795,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.07226,
    "h": 231.6
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#1F5872
secondary
#A66547
accent
#7747E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060B0E
muted
#7A7C7E

Preview Lab

Preview with #1F5872

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

Preview Lab → · Contrast checker → · Palette generator →

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