#1F7588#1F7588

#1F7588 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.2% C 0.083 H 216.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F7588
RGBrgb(31, 117, 136)
HSLhsl(191, 63%, 33%)
HSVhsv(191, 77%, 53%)
CMYKcmyk(77.2%, 14%, 0%, 46.7%)
CIE-LABlab(45.35, -18.07, -17.58)
CIE-LCHlch(45.35, 25.21, 224.22°)
OKLaboklab(52.16% -0.067 -0.0491)
OKLCHoklch(52.16% 0.083 216.2)
XYZxyz(11.3684, 14.7901, 25.5434)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7588 #88321F
analogous
#1F8866 #1F7588 #1F4188
triadic
#1F7588 #881F75 #75881F
tetradic
#1F7588 #661F88 #88321F #41881F
square
#1F7588 #661F88 #88321F #41881F
split-complementary
#1F7588 #881F41 #88661F
monochromatic
#081F24 #144A56 #1F7588 #2AA0BA #4BBDD6

Accessibility & contrast

On white

5.31
#1F7588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1F7588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7588
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7588#FFFFFF#000000##FFFFFF
##1F75881.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687189
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#007C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7588;
/* rgb */ color: rgb(31, 117, 136);
/* oklch */ color: oklch(52.2% 0.083 216.2);
Tailwind
colors: {
  custom: {
    50: '#6c9daa',
    500: '#1f7588',
    950: '#000000',
  },
}
SCSS
$custom: #1f7588;
$custom-light: #6c9daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7588",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 136
  },
  "hsl": {
    "h": 190.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.08306,
    "h": 216.2
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#1F7588
secondary
#B95E4A
accent
#6042E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7588

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

Preview Lab → · Contrast checker → · Palette generator →

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