#6156CF#6156CF

#6156CF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.180 H 282.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6156CF
RGBrgb(97, 86, 207)
HSLhsl(245, 56%, 57%)
HSVhsv(245, 58%, 81%)
CMYKcmyk(53.1%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.80, 37.22, -61.44)
CIE-LCHlch(43.80, 71.83, 301.21°)
OKLaboklab(53.08% 0.0389 -0.176)
OKLCHoklch(53.08% 0.18 282.5)
XYZxyz(19.5166, 13.7008, 60.6355)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CF #C4CF56
analogous
#5687CF #6156CF #9E56CF
triadic
#6156CF #CF6156 #56CF61
tetradic
#6156CF #CF5687 #C4CF56 #56CF9E
square
#6156CF #CF5687 #C4CF56 #56CF9E
split-complementary
#6156CF #CF9E56 #87CF56
monochromatic
#2E2685 #3F33B5 #6156CF #8E86DD #BAB5EA

Accessibility & contrast

On white

5.61
#6156CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6156CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CF#FFFFFF#000000##FFFFFF
##6156CF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6156cf;
/* rgb */ color: rgb(97, 86, 207);
/* oklch */ color: oklch(53.1% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#9786de',
    500: '#6156cf',
    950: '#000000',
  },
}
SCSS
$custom: #6156cf;
$custom-light: #9786de;
$custom-dark: #000000;
JSON
{
  "hex": "#6156cf",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 245.455,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.18028,
    "h": 282.5
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#6156CF
secondary
#D4D9A8
accent
#DF49D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CF

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

Preview Lab → · Contrast checker → · Palette generator →

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