#818BF2#818BF2

#818BF2 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.151 H 277.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#818BF2
RGBrgb(129, 139, 242)
HSLhsl(235, 81%, 73%)
HSVhsv(235, 47%, 95%)
CMYKcmyk(46.7%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.26, 23.00, -53.01)
CIE-LCHlch(61.26, 57.79, 293.46°)
OKLaboklab(67.47% 0.0193 -0.1501)
OKLCHoklch(67.47% 0.151 277.3)
XYZxyz(34.3080, 29.5413, 87.8815)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BF2 #F2E881
analogous
#81C4F2 #818BF2 #AF81F2
triadic
#818BF2 #F2818B #8BF281
tetradic
#818BF2 #F281C4 #F2E881 #81F2AF
square
#818BF2 #F281C4 #F2E881 #81F2AF
split-complementary
#818BF2 #F2AF81 #C4F281
monochromatic
#1729E1 #4A58EC #818BF2 #B8BEF8 #E3E5FC

Accessibility & contrast

On white

3.04
#818BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#818BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BF2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BF2#FFFFFF#000000##000000
##818BF21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#58A1B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #818bf2;
/* rgb */ color: rgb(129, 139, 242);
/* oklch */ color: oklch(67.5% 0.151 277.3);
Tailwind
colors: {
  custom: {
    50: '#abacf7',
    500: '#818bf2',
    950: '#000000',
  },
}
SCSS
$custom: #818bf2;
$custom-light: #abacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#818bf2",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 234.69,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67475,
    "c": 0.15136,
    "h": 277.3
  },
  "luminance": 0.29543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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