#6151E9#6151E9

#6151E9 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.219 H 281.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6151E9
RGBrgb(97, 81, 233)
HSLhsl(246, 78%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.4%, 65.2%, 0%, 8.6%)
CIE-LABlab(44.67, 48.14, -74.84)
CIE-LCHlch(44.67, 88.98, 302.75°)
OKLaboklab(54.34% 0.0417 -0.2154)
OKLCHoklch(54.34% 0.219 281)
XYZxyz(22.5756, 14.3079, 78.6471)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151E9 #D9E951
analogous
#518DE9 #6151E9 #AD51E9
triadic
#6151E9 #E96151 #51E961
tetradic
#6151E9 #E9518D #D9E951 #51E9AD
square
#6151E9 #E9518D #D9E951 #51E9AD
split-complementary
#6151E9 #E9AD51 #8DE951
monochromatic
#2516AA #311CE0 #6151E9 #9287F0 #C4BEF7

Accessibility & contrast

On white

5.44
#6151E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6151E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151E9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151E9#FFFFFF#000000##FFFFFF
##6151E91.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6151e9;
/* rgb */ color: rgb(97, 81, 233);
/* oklch */ color: oklch(54.3% 0.219 281.0);
Tailwind
colors: {
  custom: {
    50: '#9b83f1',
    500: '#6151e9',
    950: '#000000',
  },
}
SCSS
$custom: #6151e9;
$custom-light: #9b83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6151e9",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 246.316,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54336,
    "c": 0.21944,
    "h": 281
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#6151E9
secondary
#E1E7AF
accent
#DA0CC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6151E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6151E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva