#818FF4#818FF4

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

Color values

HEX#818FF4
RGBrgb(129, 143, 244)
HSLhsl(233, 84%, 73%)
HSVhsv(233, 47%, 96%)
CMYKcmyk(47.1%, 41.4%, 0%, 4.3%)
CIE-LABlab(62.37, 21.25, -52.34)
CIE-LCHlch(62.37, 56.49, 292.09°)
OKLaboklab(68.36% 0.015 -0.1481)
OKLCHoklch(68.36% 0.149 275.8)
XYZxyz(35.1998, 30.8417, 89.6687)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818FF4 #F4E681
analogous
#81C8F4 #818FF4 #AC81F4
triadic
#818FF4 #F4818F #8FF481
tetradic
#818FF4 #F481C8 #F4E681 #81F4AC
square
#818FF4 #F481C8 #F4E681 #81F4AC
split-complementary
#818FF4 #F4AC81 #C8F481
monochromatic
#142EE6 #495DEF #818FF4 #B9C1F9 #E3E6FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818FF4#FFFFFF#000000##000000
##818FF41.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)
#689CF8
Deuteranopia (green-blind)
#5E92F2
Tritanopia (blue-blind)
#56A4B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #818ff4;
/* rgb */ color: rgb(129, 143, 244);
/* oklch */ color: oklch(68.4% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#abaff8',
    500: '#818ff4',
    950: '#000000',
  },
}
SCSS
$custom: #818ff4;
$custom-light: #abaff8;
$custom-dark: #000000;
JSON
{
  "hex": "#818ff4",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 232.696,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.14889,
    "h": 275.8
  },
  "luminance": 0.30844
}

Semantic roles & 50–950 ramp

primary
#818FF4
secondary
#F4F1D7
accent
#C605E0
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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