#818CF8#818CF8

#818CF8 is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.0% C 0.158 H 276.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#818CF8
RGBrgb(129, 140, 248)
HSLhsl(234, 89%, 74%)
HSVhsv(234, 48%, 97%)
CMYKcmyk(48%, 43.5%, 0%, 2.7%)
CIE-LABlab(61.83, 24.19, -55.41)
CIE-LCHlch(61.83, 60.46, 293.58°)
OKLaboklab(68.01% 0.0191 -0.1571)
OKLCHoklch(68.01% 0.158 276.9)
XYZxyz(35.3694, 30.1986, 92.7539)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CF8 #F8ED81
analogous
#81C8F8 #818CF8 #B281F8
triadic
#818CF8 #F8818C #8CF881
tetradic
#818CF8 #F881C8 #F8ED81 #81F8B2
square
#818CF8 #F881C8 #F8ED81 #81F8B2
split-complementary
#818CF8 #F8B281 #C8F881
monochromatic
#0D22F1 #4757F5 #818CF8 #BBC1FB #E2E5FD

Accessibility & contrast

On white

2.98
#818CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#818CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818CF8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CF8#FFFFFF#000000##000000
##818CF81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#54A3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818cf8;
/* rgb */ color: rgb(129, 140, 248);
/* oklch */ color: oklch(68.0% 0.158 276.9);
Tailwind
colors: {
  custom: {
    50: '#acadfb',
    500: '#818cf8',
    950: '#000000',
  },
}
SCSS
$custom: #818cf8;
$custom-light: #acadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#818cf8",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 234.454,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.1583,
    "h": 276.9
  },
  "luminance": 0.30201
}

Semantic roles & 50–950 ramp

primary
#818CF8
secondary
#F5F3D6
accent
#D000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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