#939DFD#939DFD

#939DFD is a light, vivid blue. Relative luminance 0.374; OKLCH L 72.8% C 0.139 H 277.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#939DFD
RGBrgb(147, 157, 253)
HSLhsl(234, 96%, 78%)
HSVhsv(234, 42%, 99%)
CMYKcmyk(41.9%, 37.9%, 0%, 0.8%)
CIE-LABlab(67.58, 20.01, -48.95)
CIE-LCHlch(67.58, 52.88, 292.24°)
OKLaboklab(72.8% 0.019 -0.1378)
OKLCHoklch(72.8% 0.139 277.8)
XYZxyz(41.8139, 37.4069, 97.9265)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939DFD #FDF393
analogous
#93D2FD #939DFD #BE93FD
triadic
#939DFD #FD939D #9DFD93
tetradic
#939DFD #FD93D2 #FDF393 #93FDBE
square
#939DFD #FD93D2 #FDF393 #93FDBE
split-complementary
#939DFD #FDBE93 #D2FD93
monochromatic
#1B30FB #5766FC #939DFD #CFD4FE #E1E4FE

Accessibility & contrast

On white

2.48
#939DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#939DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939DFD
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939DFD#FFFFFF#000000##000000
##939DFD1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#71B0C1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #939dfd;
/* rgb */ color: rgb(147, 157, 253);
/* oklch */ color: oklch(72.8% 0.139 277.8);
Tailwind
colors: {
  custom: {
    50: '#b7b9fe',
    500: '#939dfd',
    950: '#000000',
  },
}
SCSS
$custom: #939dfd;
$custom-light: #b7b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#939dfd",
  "rgb": {
    "r": 147,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 234.34,
    "s": 96.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.72805,
    "c": 0.1391,
    "h": 277.8
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#939DFD
secondary
#F7F3D4
accent
#D000E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #939DFD

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

Preview Lab → · Contrast checker → · Palette generator →

#939DFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva