#959DF8#959DF8

#959DF8 is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.7% C 0.132 H 278.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#959DF8
RGBrgb(149, 157, 248)
HSLhsl(235, 88%, 78%)
HSVhsv(235, 40%, 97%)
CMYKcmyk(39.9%, 36.7%, 0%, 2.7%)
CIE-LABlab(67.49, 19.13, -46.36)
CIE-LCHlch(67.49, 50.16, 292.42°)
OKLaboklab(72.69% 0.02 -0.1302)
OKLCHoklch(72.69% 0.132 278.8)
XYZxyz(41.3897, 37.2790, 93.8035)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959DF8 #F8F095
analogous
#95CEF8 #959DF8 #BF95F8
triadic
#959DF8 #F8959D #9DF895
tetradic
#959DF8 #F895CE #F8F095 #95F8BF
square
#959DF8 #F895CE #F8F095 #95F8BF
split-complementary
#959DF8 #F8BF95 #CEF895
monochromatic
#2233F0 #5C68F4 #959DF8 #CED2FC #E2E4FD

Accessibility & contrast

On white

2.48
#959DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#959DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959DF8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959DF8#FFFFFF#000000##000000
##959DF81.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#77AFBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #959df8;
/* rgb */ color: rgb(149, 157, 248);
/* oklch */ color: oklch(72.7% 0.132 278.8);
Tailwind
colors: {
  custom: {
    50: '#b8b9fb',
    500: '#959df8',
    950: '#000000',
  },
}
SCSS
$custom: #959df8;
$custom-light: #b8b9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#959df8",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 235.152,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.72691,
    "c": 0.13177,
    "h": 278.8
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

primary
#959DF8
secondary
#F5F3D6
accent
#D201E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #959DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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