#818DE2#818DE2

#818DE2 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.0% C 0.126 H 276.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#818DE2
RGBrgb(129, 141, 226)
HSLhsl(233, 63%, 70%)
HSVhsv(233, 43%, 89%)
CMYKcmyk(42.9%, 37.6%, 0%, 11.4%)
CIE-LABlab(60.96, 17.19, -44.62)
CIE-LCHlch(60.96, 47.81, 291.07°)
OKLaboklab(66.99% 0.0139 -0.1256)
OKLCHoklch(66.99% 0.126 276.3)
XYZxyz(32.3015, 29.2063, 75.8721)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DE2 #E2D681
analogous
#81BEE2 #818DE2 #A581E2
triadic
#818DE2 #E2818D #8DE281
tetradic
#818DE2 #E281BE #E2D681 #81E2A5
square
#818DE2 #E281BE #E2D681 #81E2A5
split-complementary
#818DE2 #E2A581 #BEE281
monochromatic
#2C3EBD #4F60D7 #818DE2 #B3BAED #E4E7F9

Accessibility & contrast

On white

3.07
#818DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#818DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818DE2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DE2#FFFFFF#000000##000000
##818DE21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E5
Deuteranopia (green-blind)
#678FE0
Tritanopia (blue-blind)
#619EAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #818de2;
/* rgb */ color: rgb(129, 141, 226);
/* oklch */ color: oklch(67.0% 0.126 276.3);
Tailwind
colors: {
  custom: {
    50: '#aaaeeb',
    500: '#818de2',
    950: '#000000',
  },
}
SCSS
$custom: #818de2;
$custom-light: #aaaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#818de2",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 226
  },
  "hsl": {
    "h": 232.577,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66988,
    "c": 0.12637,
    "h": 276.3
  },
  "luminance": 0.29208
}

Semantic roles & 50–950 ramp

primary
#818DE2
secondary
#EDEAD2
accent
#B51BCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #818DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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