#818DF8#818DF8

#818DF8 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.157 H 276.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#818DF8
RGBrgb(129, 141, 248)
HSLhsl(234, 89%, 74%)
HSVhsv(234, 48%, 97%)
CMYKcmyk(48%, 43.1%, 0%, 2.7%)
CIE-LABlab(62.08, 23.60, -55.01)
CIE-LCHlch(62.08, 59.86, 293.22°)
OKLaboklab(68.2% 0.018 -0.156)
OKLCHoklch(68.2% 0.157 276.6)
XYZxyz(35.5161, 30.4922, 92.8029)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF8 #F8EC81
analogous
#81C9F8 #818DF8 #B181F8
triadic
#818DF8 #F8818D #8DF881
tetradic
#818DF8 #F881C9 #F8EC81 #81F8B1
square
#818DF8 #F881C9 #F8EC81 #81F8B1
split-complementary
#818DF8 #F8B181 #C9F881
monochromatic
#0D24F1 #4759F5 #818DF8 #BBC1FB #E2E5FD

Accessibility & contrast

On white

2.96
#818DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#818DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF8#FFFFFF#000000##000000
##818DF81.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#5791F6
Tritanopia (blue-blind)
#53A4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818df8;
/* rgb */ color: rgb(129, 141, 248);
/* oklch */ color: oklch(68.2% 0.157 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefb',
    500: '#818df8',
    950: '#000000',
  },
}
SCSS
$custom: #818df8;
$custom-light: #acaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#818df8",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 233.95,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.157,
    "h": 276.6
  },
  "luminance": 0.30494
}

Semantic roles & 50–950 ramp

primary
#818DF8
secondary
#F5F2D6
accent
#CE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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