#6151DD#6151DD

#6151DD is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.205 H 282.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6151DD
RGBrgb(97, 81, 221)
HSLhsl(247, 67%, 59%)
HSVhsv(247, 63%, 87%)
CMYKcmyk(56.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(43.72, 44.47, -69.59)
CIE-LCHlch(43.72, 82.58, 302.58°)
OKLaboklab(53.35% 0.043 -0.2)
OKLCHoklch(53.35% 0.205 282.1)
XYZxyz(20.9193, 13.6454, 69.9241)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DD #CDDD51
analogous
#5187DD #6151DD #A751DD
triadic
#6151DD #DD6151 #51DD61
tetradic
#6151DD #DD5187 #CDDD51 #51DDA7
square
#6151DD #DD5187 #CDDD51 #51DDA7
split-complementary
#6151DD #DDA751 #87DD51
monochromatic
#2B1D96 #3A27C9 #6151DD #8F84E7 #BEB7F1

Accessibility & contrast

On white

5.63
#6151DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6151DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DD#FFFFFF#000000##FFFFFF
##6151DD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#207490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151dd;
/* rgb */ color: rgb(97, 81, 221);
/* oklch */ color: oklch(53.4% 0.205 282.1);
Tailwind
colors: {
  custom: {
    50: '#9983e9',
    500: '#6151dd',
    950: '#000000',
  },
}
SCSS
$custom: #6151dd;
$custom-light: #9983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6151dd",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 246.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.20457,
    "h": 282.1
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#6151DD
secondary
#DAE0AA
accent
#EA3ED6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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