#1F5F82#1F5F82

#1F5F82 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.2% C 0.085 H 237.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#1F5F82
RGBrgb(31, 95, 130)
HSLhsl(201, 61%, 32%)
HSVhsv(201, 76%, 51%)
CMYKcmyk(76.2%, 26.9%, 0%, 49%)
CIE-LABlab(38.00, -7.54, -25.33)
CIE-LCHlch(38.00, 26.42, 253.42°)
OKLaboklab(46.2% -0.0464 -0.0714)
OKLCHoklch(46.2% 0.085 237)
XYZxyz(8.6850, 10.0864, 22.6039)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F82 #82421F
analogous
#1F8274 #1F5F82 #1F2E82
triadic
#1F5F82 #821F5F #5F821F
tetradic
#1F5F82 #741F82 #82421F #2E821F
square
#1F5F82 #741F82 #82421F #2E821F
split-complementary
#1F5F82 #821F2E #82741F
monochromatic
#07171F #133B51 #1F5F82 #2B83B3 #48A2D3

Accessibility & contrast

On white

6.96
#1F5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F82
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F82#FFFFFF#000000##FFFFFF
##1F5F821.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#00686B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5f82;
/* rgb */ color: rgb(31, 95, 130);
/* oklch */ color: oklch(46.2% 0.085 237.0);
Tailwind
colors: {
  custom: {
    50: '#698ca6',
    500: '#1f5f82',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f82;
$custom-light: #698ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f82",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 201.212,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.08515,
    "h": 237
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#1F5F82
secondary
#B56E48
accent
#7C43E5
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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