#1F5372#1F5372

#1F5372 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.2% C 0.075 H 238.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1F5372
RGBrgb(31, 83, 114)
HSLhsl(202, 57%, 28%)
HSVhsv(202, 73%, 45%)
CMYKcmyk(72.8%, 27.2%, 0%, 55.3%)
CIE-LABlab(33.33, -6.15, -22.74)
CIE-LCHlch(33.33, 23.56, 254.86°)
OKLaboklab(42.24% -0.0393 -0.064)
OKLCHoklch(42.24% 0.075 238.5)
XYZxyz(6.6944, 7.6920, 17.0482)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5372 #723E1F
analogous
#1F7267 #1F5372 #1F2972
triadic
#1F5372 #721F53 #53721F
tetradic
#1F5372 #671F72 #723E1F #29721F
square
#1F5372 #671F72 #723E1F #29721F
split-complementary
#1F5372 #721F29 #72671F
monochromatic
#071218 #123042 #1F5372 #2C76A2 #4097CB

Accessibility & contrast

On white

8.27
#1F5372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1F5372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5372
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5372#FFFFFF#000000##FFFFFF
##1F53721.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#394B71
Tritanopia (blue-blind)
#005B5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5372;
/* rgb */ color: rgb(31, 83, 114);
/* oklch */ color: oklch(42.2% 0.075 238.5);
Tailwind
colors: {
  custom: {
    50: '#66839a',
    500: '#1f5372',
    950: '#000000',
  },
}
SCSS
$custom: #1f5372;
$custom-light: #66839a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5372",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 202.41,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.07514,
    "h": 238.5
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#1F5372
secondary
#A66A47
accent
#8147E0
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5372

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

Preview Lab → · Contrast checker → · Palette generator →

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