#6151BC#6151BC

#6151BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.162 H 286.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6151BC
RGBrgb(97, 81, 188)
HSLhsl(249, 44%, 53%)
HSVhsv(249, 57%, 74%)
CMYKcmyk(48.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(41.31, 34.41, -54.46)
CIE-LCHlch(41.31, 64.42, 302.29°)
OKLaboklab(50.82% 0.0445 -0.1555)
OKLCHoklch(50.82% 0.162 286)
XYZxyz(16.9466, 12.0563, 49.0014)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151BC #ACBC51
analogous
#5176BC #6151BC #9651BC
triadic
#6151BC #BC6151 #51BC61
tetradic
#6151BC #BC5176 #ACBC51 #51BC96
square
#6151BC #BC5176 #ACBC51 #51BC96
split-complementary
#6151BC #BC9651 #76BC51
monochromatic
#32296A #483A96 #6151BC #897DCD #B1A9DE

Accessibility & contrast

On white

6.16
#6151BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6151BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151BC#FFFFFF#000000##FFFFFF
##6151BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#42697E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6151bc;
/* rgb */ color: rgb(97, 81, 188);
/* oklch */ color: oklch(50.8% 0.162 286.0);
Tailwind
colors: {
  custom: {
    50: '#9482d1',
    500: '#6151bc',
    950: '#000000',
  },
}
SCSS
$custom: #6151bc;
$custom-light: #9482d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6151bc",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 248.972,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.16177,
    "h": 286
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#6151BC
secondary
#C5CC9D
accent
#D454C1
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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