#818EEB#818EEB

#818EEB is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.7% C 0.138 H 276.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#818EEB
RGBrgb(129, 142, 235)
HSLhsl(233, 73%, 71%)
HSVhsv(233, 45%, 92%)
CMYKcmyk(45.1%, 39.6%, 0%, 7.8%)
CIE-LABlab(61.66, 19.20, -48.50)
CIE-LCHlch(61.66, 52.16, 291.59°)
OKLaboklab(67.67% 0.0145 -0.1369)
OKLCHoklch(67.67% 0.138 276.1)
XYZxyz(33.7171, 30.0095, 82.5969)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EEB #EBDE81
analogous
#81C3EB #818EEB #A981EB
triadic
#818EEB #EB818E #8EEB81
tetradic
#818EEB #EB81C3 #EBDE81 #81EBA9
square
#818EEB #EB81C3 #EBDE81 #81EBA9
split-complementary
#818EEB #EBA981 #C3EB81
monochromatic
#2137D1 #4C5FE3 #818EEB #B6BDF3 #E5E7FB

Accessibility & contrast

On white

3.00
#818EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#818EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EEB#FFFFFF#000000##000000
##818EEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#5CA1B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818eeb;
/* rgb */ color: rgb(129, 142, 235);
/* oklch */ color: oklch(67.7% 0.138 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaaef2',
    500: '#818eeb',
    950: '#000000',
  },
}
SCSS
$custom: #818eeb;
$custom-light: #aaaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#818eeb",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 232.642,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67669,
    "c": 0.13769,
    "h": 276.1
  },
  "luminance": 0.30011
}

Semantic roles & 50–950 ramp

primary
#818EEB
secondary
#F2EED6
accent
#BD11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #818EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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