#6151DA#6151DA

#6151DA is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.201 H 282.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6151DA
RGBrgb(97, 81, 218)
HSLhsl(247, 65%, 59%)
HSVhsv(247, 63%, 85%)
CMYKcmyk(55.5%, 62.8%, 0%, 14.5%)
CIE-LABlab(43.49, 43.55, -68.25)
CIE-LCHlch(43.49, 80.96, 302.54°)
OKLaboklab(53.11% 0.0432 -0.1961)
OKLCHoklch(53.11% 0.201 282.4)
XYZxyz(20.5232, 13.4869, 67.8379)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DA #CADA51
analogous
#5185DA #6151DA #A551DA
triadic
#6151DA #DA6151 #51DA61
tetradic
#6151DA #DA5185 #CADA51 #51DAA5
square
#6151DA #DA5185 #CADA51 #51DAA5
split-complementary
#6151DA #DAA551 #85DA51
monochromatic
#2C1F92 #3C2AC4 #6151DA #8F83E5 #BDB6EF

Accessibility & contrast

On white

5.68
#6151DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6151DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DA#FFFFFF#000000##FFFFFF
##6151DA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#25738E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151da;
/* rgb */ color: rgb(97, 81, 218);
/* oklch */ color: oklch(53.1% 0.201 282.4);
Tailwind
colors: {
  custom: {
    50: '#9983e6',
    500: '#6151da',
    950: '#000000',
  },
}
SCSS
$custom: #6151da;
$custom-light: #9983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6151da",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 247.007,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.20079,
    "h": 282.4
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#6151DA
secondary
#D8DEA8
accent
#E840D4
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6151DA

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

Preview Lab → · Contrast checker → · Palette generator →

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