#6152DC#6152DC

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

Color values

HEX#6152DC
RGBrgb(97, 82, 220)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.86, 43.58, -68.79)
CIE-LCHlch(43.86, 81.43, 302.36°)
OKLaboklab(53.43% 0.0421 -0.1977)
OKLCHoklch(53.43% 0.202 282)
XYZxyz(20.8613, 13.7420, 69.2495)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152DC #CDDC52
analogous
#5288DC #6152DC #A652DC
triadic
#6152DC #DC6152 #52DC61
tetradic
#6152DC #DC5288 #CDDC52 #52DCA6
square
#6152DC #DC5288 #CDDC52 #52DCA6
split-complementary
#6152DC #DCA652 #88DC52
monochromatic
#2B1E95 #3A29C8 #6152DC #8F85E6 #BEB8F1

Accessibility & contrast

On white

5.60
#6152DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6152DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152DC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152DC#FFFFFF#000000##FFFFFF
##6152DC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#22748F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6152dc;
/* rgb */ color: rgb(97, 82, 220);
/* oklch */ color: oklch(53.4% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#9983e8',
    500: '#6152dc',
    950: '#000000',
  },
}
SCSS
$custom: #6152dc;
$custom-light: #9983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6152dc",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 246.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.2021,
    "h": 282
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#6152DC
secondary
#DAE0AA
accent
#E93FD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152DC

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

Preview Lab → · Contrast checker → · Palette generator →

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