#6151BD#6151BD

#6151BD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.163 H 285.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6151BD
RGBrgb(97, 81, 189)
HSLhsl(249, 45%, 53%)
HSVhsv(249, 57%, 74%)
CMYKcmyk(48.7%, 57.1%, 0%, 25.9%)
CIE-LABlab(41.37, 34.71, -54.94)
CIE-LCHlch(41.37, 64.99, 302.29°)
OKLaboklab(50.89% 0.0445 -0.1569)
OKLCHoklch(50.89% 0.163 285.8)
XYZxyz(17.0548, 12.0996, 49.5711)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151BD #ADBD51
analogous
#5177BD #6151BD #9751BD
triadic
#6151BD #BD6151 #51BD61
tetradic
#6151BD #BD5177 #ADBD51 #51BD97
square
#6151BD #BD5177 #ADBD51 #51BD97
split-complementary
#6151BD #BD9751 #77BD51
monochromatic
#32296B #473997 #6151BD #897DCE #B2AADF

Accessibility & contrast

On white

6.14
#6151BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6151BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151BD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151BD#FFFFFF#000000##FFFFFF
##6151BD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#41697F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6151bd;
/* rgb */ color: rgb(97, 81, 189);
/* oklch */ color: oklch(50.9% 0.163 285.8);
Tailwind
colors: {
  custom: {
    50: '#9482d2',
    500: '#6151bd',
    950: '#000000',
  },
}
SCSS
$custom: #6151bd;
$custom-light: #9482d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6151bd",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 248.889,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.16311,
    "h": 285.8
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#6151BD
secondary
#C5CC9E
accent
#D553C1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6151BD

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

Preview Lab → · Contrast checker → · Palette generator →

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