#6151DE#6151DE

#6151DE is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.206 H 282.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6151DE
RGBrgb(97, 81, 222)
HSLhsl(247, 68%, 59%)
HSVhsv(247, 64%, 87%)
CMYKcmyk(56.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(43.80, 44.78, -70.03)
CIE-LCHlch(43.80, 83.12, 302.59°)
OKLaboklab(53.43% 0.0429 -0.2013)
OKLCHoklch(53.43% 0.206 282)
XYZxyz(21.0529, 13.6988, 70.6278)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DE #CEDE51
analogous
#5187DE #6151DE #A851DE
triadic
#6151DE #DE6151 #51DE61
tetradic
#6151DE #DE5187 #CEDE51 #51DEA8
square
#6151DE #DE5187 #CEDE51 #51DEA8
split-complementary
#6151DE #DEA851 #87DE51
monochromatic
#2B1D98 #3927CB #6151DE #9084E8 #BEB8F2

Accessibility & contrast

On white

5.61
#6151DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6151DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DE#FFFFFF#000000##FFFFFF
##6151DE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#1E7490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151de;
/* rgb */ color: rgb(97, 81, 222);
/* oklch */ color: oklch(53.4% 0.206 282.0);
Tailwind
colors: {
  custom: {
    50: '#9983e9',
    500: '#6151de',
    950: '#000000',
  },
}
SCSS
$custom: #6151de;
$custom-light: #9983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6151de",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 246.809,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.20582,
    "h": 282
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#6151DE
secondary
#DBE1AA
accent
#EB3DD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151DE

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

Preview Lab → · Contrast checker → · Palette generator →

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