#6151E3#6151E3

#6151E3 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.212 H 281.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6151E3
RGBrgb(97, 81, 227)
HSLhsl(247, 72%, 60%)
HSVhsv(247, 64%, 89%)
CMYKcmyk(57.3%, 64.3%, 0%, 11%)
CIE-LABlab(44.19, 46.30, -72.23)
CIE-LCHlch(44.19, 85.80, 302.66°)
OKLaboklab(53.84% 0.0424 -0.2078)
OKLCHoklch(53.84% 0.212 281.5)
XYZxyz(21.7330, 13.9709, 74.2096)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151E3 #D3E351
analogous
#518AE3 #6151E3 #AA51E3
triadic
#6151E3 #E36151 #51E361
tetradic
#6151E3 #E3518A #D3E351 #51E3AA
square
#6151E3 #E3518A #D3E351 #51E3AA
split-complementary
#6151E3 #E3AA51 #8AE351
monochromatic
#281AA0 #3622D5 #6151E3 #9186EB #C1BAF4

Accessibility & contrast

On white

5.53
#6151E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6151E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151E3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151E3#FFFFFF#000000##FFFFFF
##6151E31.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#137693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6151e3;
/* rgb */ color: rgb(97, 81, 227);
/* oklch */ color: oklch(53.8% 0.212 281.5);
Tailwind
colors: {
  custom: {
    50: '#9a83ed',
    500: '#6151e3',
    950: '#000000',
  },
}
SCSS
$custom: #6151e3;
$custom-light: #9a83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6151e3",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 246.575,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.21205,
    "h": 281.5
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#6151E3
secondary
#DEE4AC
accent
#D411BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151E3

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

Preview Lab → · Contrast checker → · Palette generator →

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