#6151DC#6151DC

#6151DC is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.203 H 282.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6151DC
RGBrgb(97, 81, 220)
HSLhsl(247, 67%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.9%, 63.2%, 0%, 13.7%)
CIE-LABlab(43.64, 44.16, -69.14)
CIE-LCHlch(43.64, 82.04, 302.57°)
OKLaboklab(53.27% 0.043 -0.1987)
OKLCHoklch(53.27% 0.203 282.2)
XYZxyz(20.7865, 13.5922, 69.2245)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151DC #CCDC51
analogous
#5187DC #6151DC #A651DC
triadic
#6151DC #DC6151 #51DC61
tetradic
#6151DC #DC5187 #CCDC51 #51DCA6
square
#6151DC #DC5187 #CCDC51 #51DCA6
split-complementary
#6151DC #DCA651 #87DC51
monochromatic
#2C1E95 #3B28C8 #6151DC #8F84E6 #BEB7F0

Accessibility & contrast

On white

5.65
#6151DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6151DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151DC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151DC#FFFFFF#000000##FFFFFF
##6151DC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#22738F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6151dc;
/* rgb */ color: rgb(97, 81, 220);
/* oklch */ color: oklch(53.3% 0.203 282.2);
Tailwind
colors: {
  custom: {
    50: '#9983e8',
    500: '#6151dc',
    950: '#000000',
  },
}
SCSS
$custom: #6151dc;
$custom-light: #9983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6151dc",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 246.906,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.20331,
    "h": 282.2
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#6151DC
secondary
#D9E0A9
accent
#E93ED6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6151DC

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

Preview Lab → · Contrast checker → · Palette generator →

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