#818AF1#818AF1

#818AF1 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.151 H 277.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#818AF1
RGBrgb(129, 138, 241)
HSLhsl(235, 80%, 73%)
HSVhsv(235, 46%, 95%)
CMYKcmyk(46.5%, 42.7%, 0%, 5.5%)
CIE-LABlab(60.95, 23.30, -52.94)
CIE-LCHlch(60.95, 57.84, 293.75°)
OKLaboklab(67.23% 0.0204 -0.1499)
OKLCHoklch(67.23% 0.151 277.7)
XYZxyz(34.0141, 29.1931, 87.0446)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818AF1 #F1E881
analogous
#81C2F1 #818AF1 #B081F1
triadic
#818AF1 #F1818A #8AF181
tetradic
#818AF1 #F181C2 #F1E881 #81F1B0
square
#818AF1 #F181C2 #F1E881 #81F1B0
split-complementary
#818AF1 #F1B081 #C2F181
monochromatic
#1929DF #4A57EB #818AF1 #B8BDF7 #E3E5FC

Accessibility & contrast

On white

3.07
#818AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#818AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818AF1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818AF1#FFFFFF#000000##000000
##818AF11.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F5
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#59A0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #818af1;
/* rgb */ color: rgb(129, 138, 241);
/* oklch */ color: oklch(67.2% 0.151 277.7);
Tailwind
colors: {
  custom: {
    50: '#abacf6',
    500: '#818af1',
    950: '#000000',
  },
}
SCSS
$custom: #818af1;
$custom-light: #abacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#818af1",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 235.179,
    "s": 80,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.15131,
    "h": 277.7
  },
  "luminance": 0.29195
}

Semantic roles & 50–950 ramp

primary
#818AF1
secondary
#F4F1D7
accent
#CB09DC
background
#FAFAFF
surface
#F5F4FE
border
#CFCED6
text
#111017
muted
#807F85

Preview Lab

Preview with #818AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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