#6151D5#6151D5

#6151D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.7% C 0.194 H 283.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6151D5
RGBrgb(97, 81, 213)
HSLhsl(247, 61%, 58%)
HSVhsv(247, 62%, 84%)
CMYKcmyk(54.5%, 62%, 0%, 16.5%)
CIE-LABlab(43.11, 42.02, -66.01)
CIE-LCHlch(43.11, 78.25, 302.48°)
OKLaboklab(52.71% 0.0436 -0.1895)
OKLCHoklch(52.71% 0.194 283)
XYZxyz(19.8788, 13.2292, 64.4439)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151D5 #C5D551
analogous
#5183D5 #6151D5 #A351D5
triadic
#6151D5 #D56151 #51D561
tetradic
#6151D5 #D55183 #C5D551 #51D5A3
square
#6151D5 #D55183 #C5D551 #51D5A3
split-complementary
#6151D5 #D5A351 #83D551
monochromatic
#2E218A #3F2DBC #6151D5 #8E82E1 #BBB4ED

Accessibility & contrast

On white

5.76
#6151D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6151D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151D5#FFFFFF#000000##FFFFFF
##6151D51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#2C718B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6151d5;
/* rgb */ color: rgb(97, 81, 213);
/* oklch */ color: oklch(52.7% 0.194 283.0);
Tailwind
colors: {
  custom: {
    50: '#9883e3',
    500: '#6151d5',
    950: '#000000',
  },
}
SCSS
$custom: #6151d5;
$custom-light: #9883e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6151d5",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 247.273,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.19446,
    "h": 283
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#6151D5
secondary
#D5DBA6
accent
#E444D1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #6151D5

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

Preview Lab → · Contrast checker → · Palette generator →

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