#818EF2#818EF2

#818EF2 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.147 H 276.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#818EF2
RGBrgb(129, 142, 242)
HSLhsl(233, 81%, 73%)
HSVhsv(233, 47%, 95%)
CMYKcmyk(46.7%, 41.3%, 0%, 5.1%)
CIE-LABlab(62.02, 21.24, -51.80)
CIE-LCHlch(62.02, 55.99, 292.30°)
OKLaboklab(68.05% 0.0158 -0.1466)
OKLCHoklch(68.05% 0.147 276.2)
XYZxyz(34.7483, 30.4220, 88.0282)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EF2 #F2E581
analogous
#81C7F2 #818EF2 #AC81F2
triadic
#818EF2 #F2818E #8EF281
tetradic
#818EF2 #F281C7 #F2E581 #81F2AC
square
#818EF2 #F281C7 #F2E581 #81F2AC
split-complementary
#818EF2 #F2AC81 #C7F281
monochromatic
#172FE1 #4A5CEC #818EF2 #B8C0F8 #E3E6FC

Accessibility & contrast

On white

2.96
#818EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#818EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818EF2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EF2#FFFFFF#000000##000000
##818EF21.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#57A3B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818ef2;
/* rgb */ color: rgb(129, 142, 242);
/* oklch */ color: oklch(68.1% 0.147 276.2);
Tailwind
colors: {
  custom: {
    50: '#abaef7',
    500: '#818ef2',
    950: '#000000',
  },
}
SCSS
$custom: #818ef2;
$custom-light: #abaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#818ef2",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 233.097,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68055,
    "c": 0.14743,
    "h": 276.2
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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