#818AFD#818AFD

#818AFD is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.168 H 277.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#818AFD
RGBrgb(129, 138, 253)
HSLhsl(236, 97%, 75%)
HSVhsv(236, 49%, 99%)
CMYKcmyk(49%, 45.5%, 0%, 0.8%)
CIE-LABlab(61.60, 26.84, -58.52)
CIE-LCHlch(61.60, 64.38, 294.64°)
OKLaboklab(67.93% 0.0221 -0.1663)
OKLCHoklch(67.93% 0.168 277.6)
XYZxyz(35.8659, 29.9339, 96.7974)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818AFD #FDF481
analogous
#81C8FD #818AFD #B681FD
triadic
#818AFD #FD818A #8AFD81
tetradic
#818AFD #FD81C8 #FDF481 #81FDB6
square
#818AFD #FD81C8 #FDF481 #81FDB6
split-complementary
#818AFD #FDB681 #C8FD81
monochromatic
#091AFB #4552FC #818AFD #BDC2FE #E1E3FF

Accessibility & contrast

On white

3.01
#818AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#818AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818AFD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818AFD#FFFFFF#000000##000000
##818AFD1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#50A3B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818afd;
/* rgb */ color: rgb(129, 138, 253);
/* oklch */ color: oklch(67.9% 0.168 277.6);
Tailwind
colors: {
  custom: {
    50: '#acacff',
    500: '#818afd',
    950: '#000000',
  },
}
SCSS
$custom: #818afd;
$custom-light: #acacff;
$custom-dark: #000000;
JSON
{
  "hex": "#818afd",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 235.645,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.16773,
    "h": 277.6
  },
  "luminance": 0.29936
}

Semantic roles & 50–950 ramp

primary
#818AFD
secondary
#F7F4D4
accent
#D500E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #818AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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