#1F5071#1F5071

#1F5071 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.076 H 241.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#1F5071
RGBrgb(31, 80, 113)
HSLhsl(204, 57%, 28%)
HSVhsv(204, 73%, 44%)
CMYKcmyk(72.6%, 29.2%, 0%, 55.7%)
CIE-LABlab(32.30, -4.65, -23.72)
CIE-LCHlch(32.30, 24.17, 258.92°)
OKLaboklab(41.41% -0.0363 -0.0669)
OKLCHoklch(41.41% 0.076 241.5)
XYZxyz(6.4132, 7.2202, 16.6752)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5071 #71401F
analogous
#1F7169 #1F5071 #1F2771
triadic
#1F5071 #711F50 #50711F
tetradic
#1F5071 #691F71 #71401F #27711F
square
#1F5071 #691F71 #71401F #27711F
split-complementary
#1F5071 #711F27 #71691F
monochromatic
#071118 #122E41 #1F5071 #2C72A1 #4093CB

Accessibility & contrast

On white

8.59
#1F5071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F5071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5071
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5071#FFFFFF#000000##FFFFFF
##1F50711.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415072
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f5071;
/* rgb */ color: rgb(31, 80, 113);
/* oklch */ color: oklch(41.4% 0.076 241.5);
Tailwind
colors: {
  custom: {
    50: '#66809a',
    500: '#1f5071',
    950: '#000000',
  },
}
SCSS
$custom: #1f5071;
$custom-light: #66809a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5071",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 204.146,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.07614,
    "h": 241.5
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#1F5071
secondary
#A56D47
accent
#8548E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1F5071

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

Preview Lab → · Contrast checker → · Palette generator →

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