#949CFA#949CFA

#949CFA is a light, vivid blue. Relative luminance 0.370; OKLCH L 72.5% C 0.136 H 278.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#949CFA
RGBrgb(148, 156, 250)
HSLhsl(235, 91%, 78%)
HSVhsv(235, 41%, 98%)
CMYKcmyk(40.8%, 37.6%, 0%, 2%)
CIE-LABlab(67.26, 20.00, -47.82)
CIE-LCHlch(67.26, 51.83, 292.70°)
OKLaboklab(72.53% 0.0206 -0.1345)
OKLCHoklch(72.53% 0.136 278.7)
XYZxyz(41.3514, 36.9731, 95.3816)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949CFA #FAF294
analogous
#94CFFA #949CFA #BF94FA
triadic
#949CFA #FA949C #9CFA94
tetradic
#949CFA #FA94CF #FAF294 #94FABF
square
#949CFA #FA94CF #FAF294 #94FABF
split-complementary
#949CFA #FABF94 #CFFA94
monochromatic
#1F30F5 #5A66F7 #949CFA #CED2FD #E2E4FE

Accessibility & contrast

On white

2.50
#949CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#949CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949CFA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949CFA#FFFFFF#000000##000000
##949CFA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#74AFBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #949cfa;
/* rgb */ color: rgb(148, 156, 250);
/* oklch */ color: oklch(72.5% 0.136 278.7);
Tailwind
colors: {
  custom: {
    50: '#b7b9fc',
    500: '#949cfa',
    950: '#000000',
  },
}
SCSS
$custom: #949cfa;
$custom-light: #b7b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#949cfa",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 235.294,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.72528,
    "c": 0.13607,
    "h": 278.7
  },
  "luminance": 0.36975
}

Semantic roles & 50–950 ramp

primary
#949CFA
secondary
#F6F3D5
accent
#D300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #949CFA

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

Preview Lab → · Contrast checker → · Palette generator →

#949CFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva