#6151D0#6151D0

#6151D0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.188 H 283.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6151D0
RGBrgb(97, 81, 208)
HSLhsl(248, 57%, 57%)
HSVhsv(248, 61%, 82%)
CMYKcmyk(53.4%, 61.1%, 0%, 18.4%)
CIE-LABlab(42.73, 40.50, -63.75)
CIE-LCHlch(42.73, 75.52, 302.42°)
OKLaboklab(52.32% 0.0439 -0.1829)
OKLCHoklch(52.32% 0.188 283.5)
XYZxyz(19.2539, 12.9792, 61.1530)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151D0 #C0D051
analogous
#5181D0 #6151D0 #A151D0
triadic
#6151D0 #D06151 #51D061
tetradic
#6151D0 #D05181 #C0D051 #51D0A1
square
#6151D0 #D05181 #C0D051 #51D0A1
split-complementary
#6151D0 #D0A151 #81D051
monochromatic
#2F2383 #4130B3 #6151D0 #8D81DD #B9B1EA

Accessibility & contrast

On white

5.84
#6151D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6151D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151D0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151D0#FFFFFF#000000##FFFFFF
##6151D01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#316F89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6151d0;
/* rgb */ color: rgb(97, 81, 208);
/* oklch */ color: oklch(52.3% 0.188 283.5);
Tailwind
colors: {
  custom: {
    50: '#9782df',
    500: '#6151d0',
    950: '#000000',
  },
}
SCSS
$custom: #6151d0;
$custom-light: #9782df;
$custom-dark: #000000;
JSON
{
  "hex": "#6151d0",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 247.559,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.18805,
    "h": 283.5
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#6151D0
secondary
#D2D8A4
accent
#E147CD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6151D0

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

Preview Lab → · Contrast checker → · Palette generator →

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