#818DF5#818DF5

#818DF5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.153 H 276.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#818DF5
RGBrgb(129, 141, 245)
HSLhsl(234, 85%, 73%)
HSVhsv(234, 47%, 96%)
CMYKcmyk(47.3%, 42.4%, 0%, 3.9%)
CIE-LABlab(61.92, 22.71, -53.61)
CIE-LCHlch(61.92, 58.22, 292.96°)
OKLaboklab(68.03% 0.0175 -0.1519)
OKLCHoklch(68.03% 0.153 276.6)
XYZxyz(35.0545, 30.3075, 90.3713)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF5 #F5E981
analogous
#81C7F5 #818DF5 #AF81F5
triadic
#818DF5 #F5818D #8DF581
tetradic
#818DF5 #F581C7 #F5E981 #81F5AF
square
#818DF5 #F581C7 #F5E981 #81F5AF
split-complementary
#818DF5 #F5AF81 #C7F581
monochromatic
#1329E9 #485AF0 #818DF5 #BAC0F9 #E3E5FD

Accessibility & contrast

On white

2.97
#818DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#818DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF5#FFFFFF#000000##000000
##818DF51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#55A3B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818df5;
/* rgb */ color: rgb(129, 141, 245);
/* oklch */ color: oklch(68.0% 0.153 276.6);
Tailwind
colors: {
  custom: {
    50: '#abaef9',
    500: '#818df5',
    950: '#000000',
  },
}
SCSS
$custom: #818df5;
$custom-light: #abaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#818df5",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 233.793,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68031,
    "c": 0.15287,
    "h": 276.6
  },
  "luminance": 0.30309
}

Semantic roles & 50–950 ramp

primary
#818DF5
secondary
#F5F2D6
accent
#CB04E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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