#6152EE#6152EE

#6152EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.224 H 280.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6152EE
RGBrgb(97, 82, 238)
HSLhsl(246, 82%, 63%)
HSVhsv(246, 66%, 93%)
CMYKcmyk(59.2%, 65.5%, 0%, 6.7%)
CIE-LABlab(45.29, 49.10, -76.66)
CIE-LCHlch(45.29, 91.03, 302.64°)
OKLaboklab(54.91% 0.0403 -0.2208)
OKLCHoklch(54.91% 0.224 280.4)
XYZxyz(23.3748, 14.7474, 82.4871)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152EE #DFEE52
analogous
#5291EE #6152EE #AF52EE
triadic
#6152EE #EE6152 #52EE61
tetradic
#6152EE #EE5291 #DFEE52 #52EEAF
square
#6152EE #EE5291 #DFEE52 #52EEAF
split-complementary
#6152EE #EEAF52 #91EE52
monochromatic
#2112B4 #2E1AE9 #6152EE #948AF3 #C7C1F9

Accessibility & contrast

On white

5.32
#6152EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6152EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152EE#FFFFFF#000000##FFFFFF
##6152EE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007A99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6152ee;
/* rgb */ color: rgb(97, 82, 238);
/* oklch */ color: oklch(54.9% 0.224 280.4);
Tailwind
colors: {
  custom: {
    50: '#9c84f5',
    500: '#6152ee',
    950: '#000000',
  },
}
SCSS
$custom: #6152ee;
$custom-light: #9c84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6152ee",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 245.769,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.22441,
    "h": 280.4
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#6152EE
secondary
#E5EAB2
accent
#DE07CA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6152EE

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

Preview Lab → · Contrast checker → · Palette generator →

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