#818AF2#818AF2

#818AF2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.153 H 277.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#818AF2
RGBrgb(129, 138, 242)
HSLhsl(235, 81%, 73%)
HSVhsv(235, 47%, 95%)
CMYKcmyk(46.7%, 43%, 0%, 5.1%)
CIE-LABlab(61.00, 23.59, -53.41)
CIE-LCHlch(61.00, 58.39, 293.83°)
OKLaboklab(67.28% 0.0205 -0.1513)
OKLCHoklch(67.28% 0.153 277.7)
XYZxyz(34.1638, 29.2531, 87.8334)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818AF2 #F2E981
analogous
#81C3F2 #818AF2 #B081F2
triadic
#818AF2 #F2818A #8AF281
tetradic
#818AF2 #F281C3 #F2E981 #81F2B0
square
#818AF2 #F281C3 #F2E981 #81F2B0
split-complementary
#818AF2 #F2B081 #C3F281
monochromatic
#1727E1 #4A56EC #818AF2 #B8BEF8 #E3E5FC

Accessibility & contrast

On white

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

On black

6.85
#818AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818AF2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818AF2#FFFFFF#000000##000000
##818AF21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#58A0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #818af2;
/* rgb */ color: rgb(129, 138, 242);
/* oklch */ color: oklch(67.3% 0.153 277.7);
Tailwind
colors: {
  custom: {
    50: '#abacf7',
    500: '#818af2',
    950: '#000000',
  },
}
SCSS
$custom: #818af2;
$custom-light: #abacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#818af2",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 235.221,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.15269,
    "h": 277.7
  },
  "luminance": 0.29255
}

Semantic roles & 50–950 ramp

primary
#818AF2
secondary
#F4F2D7
accent
#CD08DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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