#1F82A6#1F82A6

#1F82A6 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 56.9% C 0.102 H 228.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F82A6
RGBrgb(31, 130, 166)
HSLhsl(196, 69%, 39%)
HSVhsv(196, 81%, 65%)
CMYKcmyk(81.3%, 21.7%, 0%, 34.9%)
CIE-LABlab(50.70, -14.74, -26.95)
CIE-LCHlch(50.70, 30.72, 241.33°)
OKLaboklab(56.87% -0.068 -0.0758)
OKLCHoklch(56.87% 0.102 228.1)
XYZxyz(15.4278, 19.0078, 38.9248)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F82A6 #A6431F
analogous
#1FA686 #1F82A6 #1F3EA6
triadic
#1F82A6 #A61F82 #82A61F
tetradic
#1F82A6 #861FA6 #A6431F #3EA61F
square
#1F82A6 #861FA6 #A6431F #3EA61F
split-complementary
#1F82A6 #A61F3E #A6861F
monochromatic
#0C313F #155A72 #1F82A6 #2BA9D7 #5EBEE1

Accessibility & contrast

On white

4.37
#1F82A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F82A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F82A6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F82A6#FFFFFF#000000##000000
##1F82A61.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F80A8
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#008C8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f82a6;
/* rgb */ color: rgb(31, 130, 166);
/* oklch */ color: oklch(56.9% 0.102 228.1);
Tailwind
colors: {
  custom: {
    50: '#72a6c0',
    500: '#1f82a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f82a6;
$custom-light: #72a6c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f82a6",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 166
  },
  "hsl": {
    "h": 196,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.10185,
    "h": 228.1
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#1F82A6
secondary
#C5785B
accent
#6B3CEB
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F82A6

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

Preview Lab → · Contrast checker → · Palette generator →

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