#81A2EF#81A2EF

#81A2EF is a light, moderate blue. Relative luminance 0.367; OKLCH L 71.9% C 0.119 H 265.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#81A2EF
RGBrgb(129, 162, 239)
HSLhsl(222, 77%, 72%)
HSVhsv(222, 46%, 94%)
CMYKcmyk(46%, 32.2%, 0%, 6.3%)
CIE-LABlab(67.08, 8.78, -42.17)
CIE-LCHlch(67.08, 43.08, 281.76°)
OKLaboklab(71.91% -0.0086 -0.1184)
OKLCHoklch(71.91% 0.119 265.8)
XYZxyz(37.5486, 36.7375, 86.7571)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A2EF #EFCE81
analogous
#81D9EF #81A2EF #9781EF
triadic
#81A2EF #EF81A2 #A2EF81
tetradic
#81A2EF #EF81D9 #EFCE81 #81EF97
square
#81A2EF #EF81D9 #EFCE81 #81EF97
split-complementary
#81A2EF #EF9781 #D9EF81
monochromatic
#1C55DA #4B7AE8 #81A2EF #B7CAF6 #E4EBFC

Accessibility & contrast

On white

2.52
#81A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#81A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A2EF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A2EF#FFFFFF#000000##000000
##81A2EF1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#7A9FED
Tritanopia (blue-blind)
#56B2BE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #81a2ef;
/* rgb */ color: rgb(129, 162, 239);
/* oklch */ color: oklch(71.9% 0.119 265.8);
Tailwind
colors: {
  custom: {
    50: '#aabdf4',
    500: '#81a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #81a2ef;
$custom-light: #aabdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#81a2ef",
  "rgb": {
    "r": 129,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 222,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7191,
    "c": 0.11875,
    "h": 265.8
  },
  "luminance": 0.3674
}

Semantic roles & 50–950 ramp

primary
#81A2EF
secondary
#F3EBD8
accent
#9C0CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101217
muted
#7F8185

Preview Lab

Preview with #81A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

#81A2EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva