#818EF8#818EF8

#818EF8 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.156 H 276.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#818EF8
RGBrgb(129, 142, 248)
HSLhsl(233, 89%, 74%)
HSVhsv(233, 48%, 97%)
CMYKcmyk(48%, 42.7%, 0%, 2.7%)
CIE-LABlab(62.33, 23.01, -54.61)
CIE-LCHlch(62.33, 59.26, 292.85°)
OKLaboklab(68.4% 0.0168 -0.1548)
OKLCHoklch(68.4% 0.156 276.2)
XYZxyz(35.6643, 30.7884, 92.8522)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EF8 #F8EB81
analogous
#81CAF8 #818EF8 #B081F8
triadic
#818EF8 #F8818E #8EF881
tetradic
#818EF8 #F881CA #F8EB81 #81F8B0
square
#818EF8 #F881CA #F8EB81 #81F8B0
split-complementary
#818EF8 #F8B081 #CAF881
monochromatic
#0D26F1 #475AF5 #818EF8 #BBC2FB #E2E5FD

Accessibility & contrast

On white

2.93
#818EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#818EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EF8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EF8#FFFFFF#000000##000000
##818EF81.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#53A4B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818ef8;
/* rgb */ color: rgb(129, 142, 248);
/* oklch */ color: oklch(68.4% 0.156 276.2);
Tailwind
colors: {
  custom: {
    50: '#acaefb',
    500: '#818ef8',
    950: '#000000',
  },
}
SCSS
$custom: #818ef8;
$custom-light: #acaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#818ef8",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 233.445,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.1557,
    "h": 276.2
  },
  "luminance": 0.3079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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