#6152E8#6152E8

#6152E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.217 H 280.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6152E8
RGBrgb(97, 82, 232)
HSLhsl(246, 77%, 62%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.2%, 64.7%, 0%, 9%)
CIE-LABlab(44.80, 47.26, -74.06)
CIE-LCHlch(44.80, 87.86, 302.54°)
OKLaboklab(54.41% 0.041 -0.2131)
OKLCHoklch(54.41% 0.217 280.9)
XYZxyz(22.5080, 14.4006, 77.9218)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152E8 #D9E852
analogous
#528EE8 #6152E8 #AC52E8
triadic
#6152E8 #E86152 #52E861
tetradic
#6152E8 #E8528E #D9E852 #52E8AC
square
#6152E8 #E8528E #D9E852 #52E8AC
split-complementary
#6152E8 #E8AC52 #8EE852
monochromatic
#2516A9 #311EDF #6152E8 #9288EF #C4BEF6

Accessibility & contrast

On white

5.41
#6152E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6152E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152E8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152E8#FFFFFF#000000##FFFFFF
##6152E81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6152e8;
/* rgb */ color: rgb(97, 82, 232);
/* oklch */ color: oklch(54.4% 0.217 280.9);
Tailwind
colors: {
  custom: {
    50: '#9b84f0',
    500: '#6152e8',
    950: '#000000',
  },
}
SCSS
$custom: #6152e8;
$custom-light: #9b84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6152e8",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 246,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54406,
    "c": 0.21706,
    "h": 280.9
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#6152E8
secondary
#E1E7AF
accent
#D90DC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6152E8

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

Preview Lab → · Contrast checker → · Palette generator →

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