#1F5072#1F5072

#1F5072 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.077 H 242.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#1F5072
RGBrgb(31, 80, 114)
HSLhsl(205, 57%, 28%)
HSVhsv(205, 73%, 45%)
CMYKcmyk(72.8%, 29.8%, 0%, 55.3%)
CIE-LABlab(32.35, -4.27, -24.27)
CIE-LCHlch(32.35, 24.64, 260.03°)
OKLaboklab(41.46% -0.036 -0.0685)
OKLCHoklch(41.46% 0.077 242.3)
XYZxyz(6.4698, 7.2428, 16.9734)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5072 #72411F
analogous
#1F726A #1F5072 #1F2772
triadic
#1F5072 #721F50 #50721F
tetradic
#1F5072 #6A1F72 #72411F #27721F
square
#1F5072 #6A1F72 #72411F #27721F
split-complementary
#1F5072 #721F27 #726A1F
monochromatic
#071118 #122E42 #1F5072 #2C72A2 #4092CB

Accessibility & contrast

On white

8.58
#1F5072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1F5072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5072
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5072#FFFFFF#000000##FFFFFF
##1F50721.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405174
Deuteranopia (green-blind)
#354971
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f5072;
/* rgb */ color: rgb(31, 80, 114);
/* oklch */ color: oklch(41.5% 0.077 242.3);
Tailwind
colors: {
  custom: {
    50: '#66809a',
    500: '#1f5072',
    950: '#000000',
  },
}
SCSS
$custom: #1f5072;
$custom-light: #66809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5072",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 204.578,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.07738,
    "h": 242.3
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#1F5072
secondary
#A66E47
accent
#8647E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5072

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

Preview Lab → · Contrast checker → · Palette generator →

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