#6151DF#6151DF

#6151DF is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.207 H 281.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6151DF
RGBrgb(97, 81, 223)
HSLhsl(247, 69%, 60%)
HSVhsv(247, 64%, 87%)
CMYKcmyk(56.5%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.88, 45.08, -70.47)
CIE-LCHlch(43.88, 83.66, 302.61°)
OKLaboklab(53.51% 0.0428 -0.2026)
OKLCHoklch(53.51% 0.207 281.9)
XYZxyz(21.1873, 13.7526, 71.3358)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DF #CFDF51
analogous
#5188DF #6151DF #A851DF
triadic
#6151DF #DF6151 #51DF61
tetradic
#6151DF #DF5188 #CFDF51 #51DFA8
square
#6151DF #DF5188 #CFDF51 #51DFA8
split-complementary
#6151DF #DFA851 #88DF51
monochromatic
#2A1C99 #3926CD #6151DF #9085E9 #BFB8F2

Accessibility & contrast

On white

5.60
#6151DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6151DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DF#FFFFFF#000000##FFFFFF
##6151DF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#1C7491
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6151df;
/* rgb */ color: rgb(97, 81, 223);
/* oklch */ color: oklch(53.5% 0.207 281.9);
Tailwind
colors: {
  custom: {
    50: '#9983ea',
    500: '#6151df',
    950: '#000000',
  },
}
SCSS
$custom: #6151df;
$custom-light: #9983ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6151df",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 246.761,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.20706,
    "h": 281.9
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#6151DF
secondary
#DBE1AA
accent
#EC3CD8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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