#1F82A8#1F82A8

#1F82A8 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.0% C 0.104 H 229.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F82A8
RGBrgb(31, 130, 168)
HSLhsl(197, 69%, 39%)
HSVhsv(197, 82%, 66%)
CMYKcmyk(81.5%, 22.6%, 0%, 34.1%)
CIE-LABlab(50.78, -14.03, -27.98)
CIE-LCHlch(50.78, 31.29, 243.37°)
OKLaboklab(56.96% -0.0673 -0.0787)
OKLCHoklch(56.96% 0.104 229.5)
XYZxyz(15.6127, 19.0818, 39.8985)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F82A8 #A8451F
analogous
#1FA88A #1F82A8 #1F3EA8
triadic
#1F82A8 #A81F82 #82A81F
tetradic
#1F82A8 #8A1FA8 #A8451F #3EA81F
square
#1F82A8 #8A1FA8 #A8451F #3EA81F
split-complementary
#1F82A8 #A81F3E #A88A1F
monochromatic
#0C3241 #155A74 #1F82A8 #2CA8D8 #60BEE2

Accessibility & contrast

On white

4.36
#1F82A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F82A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F82A8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F82A8#FFFFFF#000000##000000
##1F82A81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AA
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#008D8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f82a8;
/* rgb */ color: rgb(31, 130, 168);
/* oklch */ color: oklch(57.0% 0.104 229.5);
Tailwind
colors: {
  custom: {
    50: '#73a6c2',
    500: '#1f82a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f82a8;
$custom-light: #73a6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f82a8",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 168
  },
  "hsl": {
    "h": 196.642,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.10358,
    "h": 229.5
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#1F82A8
secondary
#C67A5D
accent
#6D3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F82A8

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

Preview Lab → · Contrast checker → · Palette generator →

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