#6151BB#6151BB

#6151BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.160 H 286.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6151BB
RGBrgb(97, 81, 187)
HSLhsl(249, 44%, 53%)
HSVhsv(249, 57%, 73%)
CMYKcmyk(48.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(41.24, 34.11, -53.99)
CIE-LCHlch(41.24, 63.86, 302.28°)
OKLaboklab(50.75% 0.0445 -0.1541)
OKLCHoklch(50.75% 0.16 286.1)
XYZxyz(16.8392, 12.0133, 48.4356)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151BB #ABBB51
analogous
#5176BB #6151BB #9651BB
triadic
#6151BB #BB6151 #51BB61
tetradic
#6151BB #BB5176 #ABBB51 #51BB96
square
#6151BB #BB5176 #ABBB51 #51BB96
split-complementary
#6151BB #BB9651 #76BB51
monochromatic
#332969 #483A95 #6151BB #897DCC #B1A9DD

Accessibility & contrast

On white

6.17
#6151BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6151BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151BB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151BB#FFFFFF#000000##FFFFFF
##6151BB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A64BF
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#42697E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6151bb;
/* rgb */ color: rgb(97, 81, 187);
/* oklch */ color: oklch(50.7% 0.160 286.1);
Tailwind
colors: {
  custom: {
    50: '#9482d0',
    500: '#6151bb',
    950: '#000000',
  },
}
SCSS
$custom: #6151bb;
$custom-light: #9482d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6151bb",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 249.057,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.16042,
    "h": 286.1
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#6151BB
secondary
#C4CB9D
accent
#D454C0
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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