#818DEC#818DEC

#818DEC is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.5% C 0.140 H 276.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#818DEC
RGBrgb(129, 141, 236)
HSLhsl(233, 74%, 72%)
HSVhsv(233, 45%, 93%)
CMYKcmyk(45.3%, 40.3%, 0%, 7.5%)
CIE-LABlab(61.46, 20.07, -49.38)
CIE-LCHlch(61.46, 53.31, 292.12°)
OKLaboklab(67.53% 0.0159 -0.1395)
OKLCHoklch(67.53% 0.14 276.5)
XYZxyz(33.7138, 29.7712, 83.3106)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DEC #ECE081
analogous
#81C3EC #818DEC #AB81EC
triadic
#818DEC #EC818D #8DEC81
tetradic
#818DEC #EC81C3 #ECE081 #81ECAB
square
#818DEC #EC81C3 #ECE081 #81ECAB
split-complementary
#818DEC #ECAB81 #C3EC81
monochromatic
#2034D3 #4C5DE4 #818DEC #B6BDF4 #E4E7FB

Accessibility & contrast

On white

3.02
#818DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#818DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818DEC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DEC#FFFFFF#000000##000000
##818DEC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#6190EA
Tritanopia (blue-blind)
#5BA1B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #818dec;
/* rgb */ color: rgb(129, 141, 236);
/* oklch */ color: oklch(67.5% 0.140 276.5);
Tailwind
colors: {
  custom: {
    50: '#abaef2',
    500: '#818dec',
    950: '#000000',
  },
}
SCSS
$custom: #818dec;
$custom-light: #abaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#818dec",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 233.271,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67527,
    "c": 0.14041,
    "h": 276.5
  },
  "luminance": 0.29773
}

Semantic roles & 50–950 ramp

primary
#818DEC
secondary
#F2EFD7
accent
#C010D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #818DEC

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

Preview Lab → · Contrast checker → · Palette generator →

#818DEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva