#818EF9#818EF9

#818EF9 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.157 H 276.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#818EF9
RGBrgb(129, 142, 249)
HSLhsl(234, 91%, 74%)
HSVhsv(234, 48%, 98%)
CMYKcmyk(48.2%, 43%, 0%, 2.4%)
CIE-LABlab(62.38, 23.31, -55.08)
CIE-LCHlch(62.38, 59.80, 292.94°)
OKLaboklab(68.45% 0.017 -0.1561)
OKLCHoklch(68.45% 0.157 276.2)
XYZxyz(35.8198, 30.8506, 93.6715)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EF9 #F9EC81
analogous
#81CAF9 #818EF9 #B081F9
triadic
#818EF9 #F9818E #8EF981
tetradic
#818EF9 #F981CA #F9EC81 #81F9B0
square
#818EF9 #F981CA #F9EC81 #81F9B0
split-complementary
#818EF9 #F9B081 #CAF981
monochromatic
#0C25F3 #475AF6 #818EF9 #BBC2FC #E2E5FE

Accessibility & contrast

On white

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

On black

7.17
#818EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EF9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EF9#FFFFFF#000000##000000
##818EF91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#53A5B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818ef9;
/* rgb */ color: rgb(129, 142, 249);
/* oklch */ color: oklch(68.5% 0.157 276.2);
Tailwind
colors: {
  custom: {
    50: '#acaefc',
    500: '#818ef9',
    950: '#000000',
  },
}
SCSS
$custom: #818ef9;
$custom-light: #acaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#818ef9",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 233.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68452,
    "c": 0.15707,
    "h": 276.2
  },
  "luminance": 0.30853
}

Semantic roles & 50–950 ramp

primary
#818EF9
secondary
#F6F2D5
accent
#CD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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