#818DF4#818DF4

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

Color values

HEX#818DF4
RGBrgb(129, 141, 244)
HSLhsl(234, 84%, 73%)
HSVhsv(234, 47%, 96%)
CMYKcmyk(47.1%, 42.2%, 0%, 4.3%)
CIE-LABlab(61.87, 22.42, -53.14)
CIE-LCHlch(61.87, 57.68, 292.87°)
OKLaboklab(67.97% 0.0173 -0.1505)
OKLCHoklch(67.97% 0.151 276.6)
XYZxyz(34.9022, 30.2466, 89.5695)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DF4 #F4E881
analogous
#81C6F4 #818DF4 #AE81F4
triadic
#818DF4 #F4818D #8DF481
tetradic
#818DF4 #F481C6 #F4E881 #81F4AE
square
#818DF4 #F481C6 #F4E881 #81F4AE
split-complementary
#818DF4 #F4AE81 #C6F481
monochromatic
#142AE6 #495AEF #818DF4 #B9C0F9 #E3E6FD

Accessibility & contrast

On white

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

On black

7.05
#818DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818DF4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DF4#FFFFFF#000000##000000
##818DF41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#56A3B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818df4;
/* rgb */ color: rgb(129, 141, 244);
/* oklch */ color: oklch(68.0% 0.151 276.6);
Tailwind
colors: {
  custom: {
    50: '#abaef8',
    500: '#818df4',
    950: '#000000',
  },
}
SCSS
$custom: #818df4;
$custom-light: #abaef8;
$custom-dark: #000000;
JSON
{
  "hex": "#818df4",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 233.739,
    "s": 83.942,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67974,
    "c": 0.15149,
    "h": 276.6
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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