#6152CC#6152CC

#6152CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.182 H 283.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6152CC
RGBrgb(97, 82, 204)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.5%, 59.8%, 0%, 20%)
CIE-LABlab(42.66, 38.68, -61.55)
CIE-LCHlch(42.66, 72.70, 302.14°)
OKLaboklab(52.18% 0.0431 -0.1764)
OKLCHoklch(52.18% 0.182 283.7)
XYZxyz(18.8428, 12.9346, 58.6188)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152CC #BDCC52
analogous
#5280CC #6152CC #9E52CC
triadic
#6152CC #CC6152 #52CC61
tetradic
#6152CC #CC5280 #BDCC52 #52CC9E
square
#6152CC #CC5280 #BDCC52 #52CC9E
split-complementary
#6152CC #CC9E52 #80CC52
monochromatic
#30257E #4233AE #6152CC #8C81DA #B7B1E8

Accessibility & contrast

On white

5.85
#6152CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6152CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152CC#FFFFFF#000000##FFFFFF
##6152CC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#356F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6152cc;
/* rgb */ color: rgb(97, 82, 204);
/* oklch */ color: oklch(52.2% 0.182 283.7);
Tailwind
colors: {
  custom: {
    50: '#9683dc',
    500: '#6152cc',
    950: '#000000',
  },
}
SCSS
$custom: #6152cc;
$custom-light: #9683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6152cc",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 247.377,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.18157,
    "h": 283.7
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#6152CC
secondary
#D0D6A4
accent
#DE4ACC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6152CC

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

Preview Lab → · Contrast checker → · Palette generator →

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