#818BF7#818BF7

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

Color values

HEX#818BF7
RGBrgb(129, 139, 247)
HSLhsl(235, 88%, 74%)
HSVhsv(235, 48%, 97%)
CMYKcmyk(47.8%, 43.7%, 0%, 3.1%)
CIE-LABlab(61.52, 24.48, -55.35)
CIE-LCHlch(61.52, 60.52, 293.86°)
OKLaboklab(67.76% 0.0201 -0.157)
OKLCHoklch(67.76% 0.158 277.3)
XYZxyz(35.0692, 29.8458, 91.8906)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BF7 #F7ED81
analogous
#81C6F7 #818BF7 #B281F7
triadic
#818BF7 #F7818B #8BF781
tetradic
#818BF7 #F781C6 #F7ED81 #81F7B2
square
#818BF7 #F781C6 #F7ED81 #81F7B2
split-complementary
#818BF7 #F7B281 #C6F781
monochromatic
#0F22EE #4756F3 #818BF7 #BBC0FB #E2E5FD

Accessibility & contrast

On white

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

On black

6.97
#818BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BF7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BF7#FFFFFF#000000##000000
##818BF71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#54A2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818bf7;
/* rgb */ color: rgb(129, 139, 247);
/* oklch */ color: oklch(67.8% 0.158 277.3);
Tailwind
colors: {
  custom: {
    50: '#acacfa',
    500: '#818bf7',
    950: '#000000',
  },
}
SCSS
$custom: #818bf7;
$custom-light: #acacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#818bf7",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 234.915,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.15824,
    "h": 277.3
  },
  "luminance": 0.29848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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