#818EFD#818EFD

#818EFD is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.7% C 0.163 H 276.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#818EFD
RGBrgb(129, 142, 253)
HSLhsl(234, 97%, 75%)
HSVhsv(234, 49%, 99%)
CMYKcmyk(49%, 43.9%, 0%, 0.8%)
CIE-LABlab(62.59, 24.50, -56.93)
CIE-LCHlch(62.59, 61.98, 293.28°)
OKLaboklab(68.68% 0.0176 -0.1616)
OKLCHoklch(68.68% 0.163 276.2)
XYZxyz(36.4503, 31.1028, 96.9922)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EFD #FDF081
analogous
#81CCFD #818EFD #B281FD
triadic
#818EFD #FD818E #8EFD81
tetradic
#818EFD #FD81CC #FDF081 #81FDB2
square
#818EFD #FD81CC #FDF081 #81FDB2
split-complementary
#818EFD #FDB281 #CCFD81
monochromatic
#0922FB #4558FC #818EFD #BDC4FE #E1E4FF

Accessibility & contrast

On white

2.91
#818EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#818EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EFD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EFD#FFFFFF#000000##000000
##818EFD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#50A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818efd;
/* rgb */ color: rgb(129, 142, 253);
/* oklch */ color: oklch(68.7% 0.163 276.2);
Tailwind
colors: {
  custom: {
    50: '#acaefe',
    500: '#818efd',
    950: '#000000',
  },
}
SCSS
$custom: #818efd;
$custom-light: #acaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#818efd",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 233.71,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68684,
    "c": 0.16253,
    "h": 276.2
  },
  "luminance": 0.31105
}

Semantic roles & 50–950 ramp

primary
#818EFD
secondary
#F7F3D4
accent
#CD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #818EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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