#6151E1#6151E1

#6151E1 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.210 H 281.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6151E1
RGBrgb(97, 81, 225)
HSLhsl(247, 71%, 60%)
HSVhsv(247, 64%, 88%)
CMYKcmyk(56.9%, 64%, 0%, 11.8%)
CIE-LABlab(44.03, 45.69, -71.35)
CIE-LCHlch(44.03, 84.73, 302.63°)
OKLaboklab(53.68% 0.0426 -0.2052)
OKLCHoklch(53.68% 0.21 281.7)
XYZxyz(21.4586, 13.8611, 72.7643)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151E1 #D1E151
analogous
#5189E1 #6151E1 #A951E1
triadic
#6151E1 #E16151 #51E161
tetradic
#6151E1 #E15189 #D1E151 #51E1A9
square
#6151E1 #E15189 #D1E151 #51E1A9
split-complementary
#6151E1 #E1A951 #89E151
monochromatic
#291B9D #3724D1 #6151E1 #9085EA #C0B9F3

Accessibility & contrast

On white

5.57
#6151E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6151E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151E1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151E1#FFFFFF#000000##FFFFFF
##6151E11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#187592
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6151e1;
/* rgb */ color: rgb(97, 81, 225);
/* oklch */ color: oklch(53.7% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a83eb',
    500: '#6151e1',
    950: '#000000',
  },
}
SCSS
$custom: #6151e1;
$custom-light: #9a83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6151e1",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 246.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.20956,
    "h": 281.7
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#6151E1
secondary
#DCE3AB
accent
#ED3AD9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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