#6156E8#6156E8

#6156E8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.212 H 280.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6156E8
RGBrgb(97, 86, 232)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 63%, 91%)
CMYKcmyk(58.2%, 62.9%, 0%, 9%)
CIE-LABlab(45.66, 44.96, -72.66)
CIE-LCHlch(45.66, 85.44, 301.75°)
OKLaboklab(55.03% 0.0376 -0.209)
OKLCHoklch(55.03% 0.212 280.2)
XYZxyz(22.8184, 15.0216, 78.0253)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156E8 #DDE856
analogous
#5694E8 #6156E8 #AA56E8
triadic
#6156E8 #E86156 #56E861
tetradic
#6156E8 #E85694 #DDE856 #56E8AA
square
#6156E8 #E85694 #DDE856 #56E8AA
split-complementary
#6156E8 #E8AA56 #94E856
monochromatic
#2317AC #2F20E1 #6156E8 #938CEF #C6C2F7

Accessibility & contrast

On white

5.24
#6156E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6156E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156E8#FFFFFF#000000##FFFFFF
##6156E81.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6156e8;
/* rgb */ color: rgb(97, 86, 232);
/* oklch */ color: oklch(55.0% 0.212 280.2);
Tailwind
colors: {
  custom: {
    50: '#9a86f0',
    500: '#6156e8',
    950: '#000000',
  },
}
SCSS
$custom: #6156e8;
$custom-light: #9a86f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6156e8",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 244.521,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.21236,
    "h": 280.2
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#6156E8
secondary
#E4E8B2
accent
#D80DC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6156E8

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

Preview Lab → · Contrast checker → · Palette generator →

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