#6156EA#6156EA

#6156EA is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.215 H 280.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6156EA
RGBrgb(97, 86, 234)
HSLhsl(244, 78%, 63%)
HSVhsv(244, 63%, 92%)
CMYKcmyk(58.5%, 63.2%, 0%, 8.2%)
CIE-LABlab(45.82, 45.58, -73.53)
CIE-LCHlch(45.82, 86.51, 301.80°)
OKLaboklab(55.2% 0.0374 -0.2116)
OKLCHoklch(55.2% 0.215 280)
XYZxyz(23.1041, 15.1358, 79.5300)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156EA #DFEA56
analogous
#5695EA #6156EA #AB56EA
triadic
#6156EA #EA6156 #56EA61
tetradic
#6156EA #EA5695 #DFEA56 #56EAAB
square
#6156EA #EA5695 #DFEA56 #56EAAB
split-complementary
#6156EA #EAAB56 #95EA56
monochromatic
#2116B0 #2E20E3 #6156EA #948CF1 #C7C3F8

Accessibility & contrast

On white

5.21
#6156EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6156EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156EA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156EA#FFFFFF#000000##FFFFFF
##6156EA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6156ea;
/* rgb */ color: rgb(97, 86, 234);
/* oklch */ color: oklch(55.2% 0.215 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b86f2',
    500: '#6156ea',
    950: '#000000',
  },
}
SCSS
$custom: #6156ea;
$custom-light: #9b86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6156ea",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 244.459,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.21486,
    "h": 280
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#6156EA
secondary
#E5E9B3
accent
#DA0BCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6156EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6156EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva