#6156E4#6156E4

#6156E4 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.207 H 280.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6156E4
RGBrgb(97, 86, 228)
HSLhsl(245, 72%, 62%)
HSVhsv(245, 62%, 89%)
CMYKcmyk(57.5%, 62.3%, 0%, 10.6%)
CIE-LABlab(45.35, 43.72, -70.90)
CIE-LCHlch(45.35, 83.30, 301.66°)
OKLaboklab(54.71% 0.0379 -0.2038)
OKLCHoklch(54.71% 0.207 280.5)
XYZxyz(22.2567, 14.7969, 75.0670)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156E4 #D9E456
analogous
#5692E4 #6156E4 #A856E4
triadic
#6156E4 #E46156 #56E461
tetradic
#6156E4 #E45692 #D9E456 #56E4A8
square
#6156E4 #E45692 #D9E456 #56E4A8
split-complementary
#6156E4 #E4A856 #92E456
monochromatic
#251AA5 #3123DA #6156E4 #928BEC #C4C0F5

Accessibility & contrast

On white

5.30
#6156E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6156E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156E4#FFFFFF#000000##FFFFFF
##6156E41.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#0E7995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6156e4;
/* rgb */ color: rgb(97, 86, 228);
/* oklch */ color: oklch(54.7% 0.207 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a86ee',
    500: '#6156e4',
    950: '#000000',
  },
}
SCSS
$custom: #6156e4;
$custom-light: #9a86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6156e4",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 244.648,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.20734,
    "h": 280.5
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#6156E4
secondary
#E1E5B0
accent
#D511C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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