#6156CE#6156CE

#6156CE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.179 H 282.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6156CE
RGBrgb(97, 86, 206)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 58%, 81%)
CMYKcmyk(52.9%, 58.3%, 0%, 19.2%)
CIE-LABlab(43.73, 36.91, -60.98)
CIE-LCHlch(43.73, 71.28, 301.18°)
OKLaboklab(53.01% 0.0389 -0.1747)
OKLCHoklch(53.01% 0.179 282.6)
XYZxyz(19.3947, 13.6521, 59.9937)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CE #C3CE56
analogous
#5687CE #6156CE #9D56CE
triadic
#6156CE #CE6156 #56CE61
tetradic
#6156CE #CE5687 #C3CE56 #56CE9D
square
#6156CE #CE5687 #C3CE56 #56CE9D
split-complementary
#6156CE #CE9D56 #87CE56
monochromatic
#2F2683 #4034B3 #6156CE #8D85DC #BAB5EA

Accessibility & contrast

On white

5.63
#6156CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6156CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CE#FFFFFF#000000##FFFFFF
##6156CE1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#33728A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6156ce;
/* rgb */ color: rgb(97, 86, 206);
/* oklch */ color: oklch(53.0% 0.179 282.6);
Tailwind
colors: {
  custom: {
    50: '#9686de',
    500: '#6156ce',
    950: '#000000',
  },
}
SCSS
$custom: #6156ce;
$custom-light: #9686de;
$custom-dark: #000000;
JSON
{
  "hex": "#6156ce",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 245.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.17897,
    "h": 282.6
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#6156CE
secondary
#D4D8A8
accent
#DE49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CE

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

Preview Lab → · Contrast checker → · Palette generator →

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