#1F82A7#1F82A7

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

Color values

HEX#1F82A7
RGBrgb(31, 130, 167)
HSLhsl(196, 69%, 39%)
HSVhsv(196, 81%, 65%)
CMYKcmyk(81.4%, 22.2%, 0%, 34.5%)
CIE-LABlab(50.74, -14.38, -27.46)
CIE-LCHlch(50.74, 31.00, 242.36°)
OKLaboklab(56.92% -0.0677 -0.0773)
OKLCHoklch(56.92% 0.103 228.8)
XYZxyz(15.5199, 19.0447, 39.4097)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F82A7 #A7441F
analogous
#1FA788 #1F82A7 #1F3EA7
triadic
#1F82A7 #A71F82 #82A71F
tetradic
#1F82A7 #881FA7 #A7441F #3EA71F
square
#1F82A7 #881FA7 #A7441F #3EA71F
split-complementary
#1F82A7 #A71F3E #A7881F
monochromatic
#0C3240 #155A73 #1F82A7 #2BA9D8 #5FBEE1

Accessibility & contrast

On white

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

On black

4.81
#1F82A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F82A7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F82A7#FFFFFF#000000##000000
##1F82A71.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f82a7;
/* rgb */ color: rgb(31, 130, 167);
/* oklch */ color: oklch(56.9% 0.103 228.8);
Tailwind
colors: {
  custom: {
    50: '#72a6c1',
    500: '#1f82a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f82a7;
$custom-light: #72a6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f82a7",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 167
  },
  "hsl": {
    "h": 196.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.1027,
    "h": 228.8
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#1F82A7
secondary
#C6795C
accent
#6C3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F82A7

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

Preview Lab → · Contrast checker → · Palette generator →

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