#959EF8#959EF8

#959EF8 is a light, vivid blue. Relative luminance 0.376; OKLCH L 72.9% C 0.130 H 278.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#959EF8
RGBrgb(149, 158, 248)
HSLhsl(235, 88%, 78%)
HSVhsv(235, 40%, 97%)
CMYKcmyk(39.9%, 36.3%, 0%, 2.7%)
CIE-LABlab(67.74, 18.56, -45.97)
CIE-LCHlch(67.74, 49.57, 291.99°)
OKLaboklab(72.89% 0.0188 -0.1291)
OKLCHoklch(72.89% 0.13 278.3)
XYZxyz(41.5596, 37.6188, 93.8601)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959EF8 #F8EF95
analogous
#95D0F8 #959EF8 #BD95F8
triadic
#959EF8 #F8959E #9EF895
tetradic
#959EF8 #F895D0 #F8EF95 #95F8BD
square
#959EF8 #F895D0 #F8EF95 #95F8BD
split-complementary
#959EF8 #F8BD95 #D0F895
monochromatic
#2235F0 #5C69F4 #959EF8 #CED3FC #E2E5FD

Accessibility & contrast

On white

2.46
#959EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#959EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959EF8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959EF8#FFFFFF#000000##000000
##959EF81.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#79A1F6
Tritanopia (blue-blind)
#77B0BF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #959ef8;
/* rgb */ color: rgb(149, 158, 248);
/* oklch */ color: oklch(72.9% 0.130 278.3);
Tailwind
colors: {
  custom: {
    50: '#b8bafb',
    500: '#959ef8',
    950: '#000000',
  },
}
SCSS
$custom: #959ef8;
$custom-light: #b8bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#959ef8",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 234.545,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72885,
    "c": 0.13044,
    "h": 278.3
  },
  "luminance": 0.37621
}

Semantic roles & 50–950 ramp

primary
#959EF8
secondary
#F5F2D6
accent
#D001E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #959EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#959EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva