#6156EF#6156EF

#6156EF is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.221 H 279.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6156EF
RGBrgb(97, 86, 239)
HSLhsl(244, 83%, 64%)
HSVhsv(244, 64%, 94%)
CMYKcmyk(59.4%, 64%, 0%, 6.3%)
CIE-LABlab(46.21, 47.13, -75.70)
CIE-LCHlch(46.21, 89.17, 301.91°)
OKLaboklab(55.6% 0.037 -0.2179)
OKLCHoklch(55.6% 0.221 279.6)
XYZxyz(23.8326, 15.4272, 83.3665)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156EF #E4EF56
analogous
#5697EF #6156EF #AD56EF
triadic
#6156EF #EF6156 #56EF61
tetradic
#6156EF #EF5697 #E4EF56 #56EFAD
square
#6156EF #EF5697 #E4EF56 #56EFAD
split-complementary
#6156EF #EFAD56 #97EF56
monochromatic
#1E12B9 #2D1EEA #6156EF #958EF4 #CAC6FA

Accessibility & contrast

On white

5.14
#6156EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6156EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156EF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156EF#FFFFFF#000000##FFFFFF
##6156EF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6156ef;
/* rgb */ color: rgb(97, 86, 239);
/* oklch */ color: oklch(55.6% 0.221 279.6);
Tailwind
colors: {
  custom: {
    50: '#9c86f5',
    500: '#6156ef',
    950: '#000000',
  },
}
SCSS
$custom: #6156ef;
$custom-light: #9c86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6156ef",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 244.314,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.22106,
    "h": 279.6
  },
  "luminance": 0.15429
}

Semantic roles & 50–950 ramp

primary
#6156EF
secondary
#E7EBB5
accent
#DF06D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6156EF

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

Preview Lab → · Contrast checker → · Palette generator →

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