#6151DB#6151DB

#6151DB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.202 H 282.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6151DB
RGBrgb(97, 81, 219)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.7%, 63%, 0%, 14.1%)
CIE-LABlab(43.56, 43.86, -68.70)
CIE-LCHlch(43.56, 81.50, 302.56°)
OKLaboklab(53.19% 0.0431 -0.1974)
OKLCHoklch(53.19% 0.202 282.3)
XYZxyz(20.6544, 13.5394, 68.5291)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DB #CBDB51
analogous
#5186DB #6151DB #A651DB
triadic
#6151DB #DB6151 #51DB61
tetradic
#6151DB #DB5186 #CBDB51 #51DBA6
square
#6151DB #DB5186 #CBDB51 #51DBA6
split-complementary
#6151DB #DBA651 #86DB51
monochromatic
#2C1E93 #3B29C6 #6151DB #8F84E5 #BDB6F0

Accessibility & contrast

On white

5.66
#6151DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6151DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DB#FFFFFF#000000##FFFFFF
##6151DB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#23738F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151db;
/* rgb */ color: rgb(97, 81, 219);
/* oklch */ color: oklch(53.2% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#9983e7',
    500: '#6151db',
    950: '#000000',
  },
}
SCSS
$custom: #6151db;
$custom-light: #9983e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6151db",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 246.957,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.20205,
    "h": 282.3
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#6151DB
secondary
#D9DFA9
accent
#E93FD5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6151DB

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

Preview Lab → · Contrast checker → · Palette generator →

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