#6151E0#6151E0

#6151E0 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.208 H 281.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6151E0
RGBrgb(97, 81, 224)
HSLhsl(247, 70%, 60%)
HSVhsv(247, 64%, 88%)
CMYKcmyk(56.7%, 63.8%, 0%, 12.2%)
CIE-LABlab(43.95, 45.39, -70.91)
CIE-LCHlch(43.95, 84.19, 302.62°)
OKLaboklab(53.59% 0.0427 -0.2039)
OKLCHoklch(53.59% 0.208 281.8)
XYZxyz(21.3226, 13.8067, 72.0479)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151E0 #D0E051
analogous
#5189E0 #6151E0 #A851E0
triadic
#6151E0 #E06151 #51E061
tetradic
#6151E0 #E05189 #D0E051 #51E0A8
square
#6151E0 #E05189 #D0E051 #51E0A8
split-complementary
#6151E0 #E0A851 #89E051
monochromatic
#2A1C9B #3825CF #6151E0 #9085E9 #BFB9F3

Accessibility & contrast

On white

5.58
#6151E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6151E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151E0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151E0#FFFFFF#000000##FFFFFF
##6151E01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0063DD
Tritanopia (blue-blind)
#1A7591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6151e0;
/* rgb */ color: rgb(97, 81, 224);
/* oklch */ color: oklch(53.6% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#9983eb',
    500: '#6151e0',
    950: '#000000',
  },
}
SCSS
$custom: #6151e0;
$custom-light: #9983eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6151e0",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 246.713,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.20832,
    "h": 281.8
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#6151E0
secondary
#DCE2AB
accent
#ED3BD9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151E0

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

Preview Lab → · Contrast checker → · Palette generator →

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