#6151BF#6151BF

#6151BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.166 H 285.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6151BF
RGBrgb(97, 81, 191)
HSLhsl(249, 46%, 53%)
HSVhsv(249, 58%, 75%)
CMYKcmyk(49.2%, 57.6%, 0%, 25.1%)
CIE-LABlab(41.51, 35.32, -55.88)
CIE-LCHlch(41.51, 66.11, 302.29°)
OKLaboklab(51.04% 0.0445 -0.1597)
OKLCHoklch(51.04% 0.166 285.6)
XYZxyz(17.2734, 12.1870, 50.7223)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151BF #AFBF51
analogous
#5178BF #6151BF #9851BF
triadic
#6151BF #BF6151 #51BF61
tetradic
#6151BF #BF5178 #AFBF51 #51BF98
square
#6151BF #BF5178 #AFBF51 #51BF98
split-complementary
#6151BF #BF9851 #78BF51
monochromatic
#32286D #47399A #6151BF #8A7ECF #B2AAE0

Accessibility & contrast

On white

6.11
#6151BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6151BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151BF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151BF#FFFFFF#000000##FFFFFF
##6151BF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#406A80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6151bf;
/* rgb */ color: rgb(97, 81, 191);
/* oklch */ color: oklch(51.0% 0.166 285.6);
Tailwind
colors: {
  custom: {
    50: '#9582d3',
    500: '#6151bf',
    950: '#000000',
  },
}
SCSS
$custom: #6151bf;
$custom-light: #9582d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6151bf",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 248.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.16578,
    "h": 285.6
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#6151BF
secondary
#C7CE9E
accent
#D652C3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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