#1F5E82#1F5E82

#1F5E82 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.086 H 238.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1F5E82
RGBrgb(31, 94, 130)
HSLhsl(202, 61%, 32%)
HSVhsv(202, 76%, 51%)
CMYKcmyk(76.2%, 27.7%, 0%, 49%)
CIE-LABlab(37.68, -6.93, -25.83)
CIE-LCHlch(37.68, 26.74, 254.98°)
OKLaboklab(45.94% -0.0453 -0.0729)
OKLCHoklch(45.94% 0.086 238.1)
XYZxyz(8.5955, 9.9074, 22.5741)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E82 #82431F
analogous
#1F8275 #1F5E82 #1F2D82
triadic
#1F5E82 #821F5E #5E821F
tetradic
#1F5E82 #751F82 #82431F #2D821F
square
#1F5E82 #751F82 #82431F #2D821F
split-complementary
#1F5E82 #821F2D #82751F
monochromatic
#07171F #133A51 #1F5E82 #2B82B3 #48A1D3

Accessibility & contrast

On white

7.04
#1F5E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F5E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5E82
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E82#FFFFFF#000000##FFFFFF
##1F5E821.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5e82;
/* rgb */ color: rgb(31, 94, 130);
/* oklch */ color: oklch(45.9% 0.086 238.1);
Tailwind
colors: {
  custom: {
    50: '#698ba6',
    500: '#1f5e82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e82;
$custom-light: #698ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e82",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 130
  },
  "hsl": {
    "h": 201.818,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.08582,
    "h": 238.1
  },
  "luminance": 0.09908
}

Semantic roles & 50–950 ramp

primary
#1F5E82
secondary
#B57048
accent
#7E43E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F5E82

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

Preview Lab → · Contrast checker → · Palette generator →

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