#818BF8#818BF8

#818BF8 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.160 H 277.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#818BF8
RGBrgb(129, 139, 248)
HSLhsl(235, 89%, 74%)
HSVhsv(235, 48%, 97%)
CMYKcmyk(48%, 44%, 0%, 2.7%)
CIE-LABlab(61.57, 24.77, -55.81)
CIE-LCHlch(61.57, 61.06, 293.93°)
OKLaboklab(67.82% 0.0203 -0.1583)
OKLCHoklch(67.82% 0.16 277.3)
XYZxyz(35.2239, 29.9077, 92.7055)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BF8 #F8EE81
analogous
#81C7F8 #818BF8 #B381F8
triadic
#818BF8 #F8818B #8BF881
tetradic
#818BF8 #F881C7 #F8EE81 #81F8B3
square
#818BF8 #F881C7 #F8EE81 #81F8B3
split-complementary
#818BF8 #F8B381 #C7F881
monochromatic
#0D21F1 #4756F5 #818BF8 #BBC0FB #E2E4FD

Accessibility & contrast

On white

3.01
#818BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#818BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BF8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BF8#FFFFFF#000000##000000
##818BF81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#5490F6
Tritanopia (blue-blind)
#54A2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818bf8;
/* rgb */ color: rgb(129, 139, 248);
/* oklch */ color: oklch(67.8% 0.160 277.3);
Tailwind
colors: {
  custom: {
    50: '#acacfb',
    500: '#818bf8',
    950: '#000000',
  },
}
SCSS
$custom: #818bf8;
$custom-light: #acacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#818bf8",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 234.958,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.15961,
    "h": 277.3
  },
  "luminance": 0.2991
}

Semantic roles & 50–950 ramp

primary
#818BF8
secondary
#F5F3D6
accent
#D200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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