#6151E2#6151E2

#6151E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.211 H 281.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6151E2
RGBrgb(97, 81, 226)
HSLhsl(247, 71%, 60%)
HSVhsv(247, 64%, 89%)
CMYKcmyk(57.1%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.11, 46.00, -71.79)
CIE-LCHlch(44.11, 85.26, 302.65°)
OKLaboklab(53.76% 0.0425 -0.2065)
OKLCHoklch(53.76% 0.211 281.6)
XYZxyz(21.5954, 13.9158, 73.4848)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151E2 #D2E251
analogous
#5189E2 #6151E2 #AA51E2
triadic
#6151E2 #E26151 #51E261
tetradic
#6151E2 #E25189 #D2E251 #51E2AA
square
#6151E2 #E25189 #D2E251 #51E2AA
split-complementary
#6151E2 #E2AA51 #89E251
monochromatic
#291A9E #3623D3 #6151E2 #9185EB #C0BAF3

Accessibility & contrast

On white

5.55
#6151E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6151E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151E2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151E2#FFFFFF#000000##FFFFFF
##6151E21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#167592
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6151e2;
/* rgb */ color: rgb(97, 81, 226);
/* oklch */ color: oklch(53.8% 0.211 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a83ec',
    500: '#6151e2',
    950: '#000000',
  },
}
SCSS
$custom: #6151e2;
$custom-light: #9a83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6151e2",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 246.621,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.2108,
    "h": 281.6
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#6151E2
secondary
#DDE3AC
accent
#D312BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151E2

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

Preview Lab → · Contrast checker → · Palette generator →

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