#6151D9#6151D9

#6151D9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 53.0% C 0.200 H 282.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6151D9
RGBrgb(97, 81, 217)
HSLhsl(247, 64%, 58%)
HSVhsv(247, 63%, 85%)
CMYKcmyk(55.3%, 62.7%, 0%, 14.9%)
CIE-LABlab(43.41, 43.25, -67.81)
CIE-LCHlch(43.41, 80.42, 302.53°)
OKLaboklab(53.03% 0.0433 -0.1948)
OKLCHoklch(53.03% 0.2 282.5)
XYZxyz(20.3927, 13.4347, 67.1508)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151D9 #C9D951
analogous
#5185D9 #6151D9 #A551D9
triadic
#6151D9 #D96151 #51D961
tetradic
#6151D9 #D95185 #C9D951 #51D9A5
square
#6151D9 #D95185 #C9D951 #51D9A5
split-complementary
#6151D9 #D9A551 #85D951
monochromatic
#2D1F90 #3C2AC2 #6151D9 #8F83E4 #BCB5EF

Accessibility & contrast

On white

5.70
#6151D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6151D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151D9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151D9#FFFFFF#000000##FFFFFF
##6151D91.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#26728D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151d9;
/* rgb */ color: rgb(97, 81, 217);
/* oklch */ color: oklch(53.0% 0.200 282.5);
Tailwind
colors: {
  custom: {
    50: '#9883e6',
    500: '#6151d9',
    950: '#000000',
  },
}
SCSS
$custom: #6151d9;
$custom-light: #9883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6151d9",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 247.059,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.19953,
    "h": 282.5
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#6151D9
secondary
#D8DEA8
accent
#E741D4
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6151D9

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

Preview Lab → · Contrast checker → · Palette generator →

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