#6151BE#6151BE

#6151BE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.164 H 285.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6151BE
RGBrgb(97, 81, 190)
HSLhsl(249, 46%, 53%)
HSVhsv(249, 57%, 75%)
CMYKcmyk(48.9%, 57.4%, 0%, 25.5%)
CIE-LABlab(41.44, 35.02, -55.41)
CIE-LCHlch(41.44, 65.55, 302.29°)
OKLaboklab(50.97% 0.0445 -0.1583)
OKLCHoklch(50.97% 0.164 285.7)
XYZxyz(17.1637, 12.1431, 50.1447)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151BE #AEBE51
analogous
#5177BE #6151BE #9751BE
triadic
#6151BE #BE6151 #51BE61
tetradic
#6151BE #BE5177 #AEBE51 #51BE97
square
#6151BE #BE5177 #AEBE51 #51BE97
split-complementary
#6151BE #BE9751 #77BE51
monochromatic
#32286C #473999 #6151BE #897ECF #B2AADF

Accessibility & contrast

On white

6.12
#6151BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6151BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151BE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151BE#FFFFFF#000000##FFFFFF
##6151BE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#406A7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6151be;
/* rgb */ color: rgb(97, 81, 190);
/* oklch */ color: oklch(51.0% 0.164 285.7);
Tailwind
colors: {
  custom: {
    50: '#9582d2',
    500: '#6151be',
    950: '#000000',
  },
}
SCSS
$custom: #6151be;
$custom-light: #9582d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6151be",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 248.807,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.16444,
    "h": 285.7
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#6151BE
secondary
#C6CD9E
accent
#D553C2
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6151BE

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

Preview Lab → · Contrast checker → · Palette generator →

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