#818DF9#818DF9

#818DF9 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.3% C 0.158 H 276.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#818DF9
RGBrgb(129, 141, 249)
HSLhsl(234, 91%, 74%)
HSVhsv(234, 48%, 98%)
CMYKcmyk(48.2%, 43.4%, 0%, 2.4%)
CIE-LABlab(62.13, 23.89, -55.48)
CIE-LCHlch(62.13, 60.40, 293.30°)
OKLaboklab(68.26% 0.0181 -0.1573)
OKLCHoklch(68.26% 0.158 276.6)
XYZxyz(35.6717, 30.5544, 93.6221)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF9 #F9ED81
analogous
#81C9F9 #818DF9 #B181F9
triadic
#818DF9 #F9818D #8DF981
tetradic
#818DF9 #F981C9 #F9ED81 #81F9B1
square
#818DF9 #F981C9 #F9ED81 #81F9B1
split-complementary
#818DF9 #F9B181 #C9F981
monochromatic
#0C23F3 #4758F6 #818DF9 #BBC2FC #E2E5FE

Accessibility & contrast

On white

2.95
#818DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#818DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF9#FFFFFF#000000##000000
##818DF91.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#53A4B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818df9;
/* rgb */ color: rgb(129, 141, 249);
/* oklch */ color: oklch(68.3% 0.158 276.6);
Tailwind
colors: {
  custom: {
    50: '#acaefc',
    500: '#818df9',
    950: '#000000',
  },
}
SCSS
$custom: #818df9;
$custom-light: #acaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#818df9",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 234,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6826,
    "c": 0.15837,
    "h": 276.6
  },
  "luminance": 0.30556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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