#818BF5#818BF5

#818BF5 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.155 H 277.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#818BF5
RGBrgb(129, 139, 245)
HSLhsl(235, 85%, 73%)
HSVhsv(235, 47%, 96%)
CMYKcmyk(47.3%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.41, 23.89, -54.41)
CIE-LCHlch(61.41, 59.43, 293.70°)
OKLaboklab(67.65% 0.0198 -0.1542)
OKLCHoklch(67.65% 0.156 277.3)
XYZxyz(34.7622, 29.7230, 90.2739)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BF5 #F5EB81
analogous
#81C5F5 #818BF5 #B181F5
triadic
#818BF5 #F5818B #8BF581
tetradic
#818BF5 #F581C5 #F5EB81 #81F5B1
square
#818BF5 #F581C5 #F5EB81 #81F5B1
split-complementary
#818BF5 #F5B181 #C5F581
monochromatic
#1325E9 #4857F0 #818BF5 #BABFF9 #E3E5FD

Accessibility & contrast

On white

3.02
#818BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#818BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BF5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BF5#FFFFFF#000000##000000
##818BF51.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#56A1B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #818bf5;
/* rgb */ color: rgb(129, 139, 245);
/* oklch */ color: oklch(67.6% 0.155 277.3);
Tailwind
colors: {
  custom: {
    50: '#abacf9',
    500: '#818bf5',
    950: '#000000',
  },
}
SCSS
$custom: #818bf5;
$custom-light: #abacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#818bf5",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 234.828,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67647,
    "c": 0.1555,
    "h": 277.3
  },
  "luminance": 0.29725
}

Semantic roles & 50–950 ramp

primary
#818BF5
secondary
#F5F2D6
accent
#CF04E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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