#6156CC#6156CC

#6156CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.176 H 282.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6156CC
RGBrgb(97, 86, 204)
HSLhsl(246, 54%, 57%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.5%, 57.8%, 0%, 20%)
CIE-LABlab(43.59, 36.29, -60.06)
CIE-LCHlch(43.59, 70.17, 301.14°)
OKLaboklab(52.86% 0.0389 -0.172)
OKLCHoklch(52.86% 0.176 282.8)
XYZxyz(19.1533, 13.5555, 58.7223)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CC #C1CC56
analogous
#5686CC #6156CC #9C56CC
triadic
#6156CC #CC6156 #56CC61
tetradic
#6156CC #CC5686 #C1CC56 #56CC9C
square
#6156CC #CC5686 #C1CC56 #56CC9C
split-complementary
#6156CC #CC9C56 #86CC56
monochromatic
#2F2781 #4035B0 #6156CC #8D85DA #B9B4E8

Accessibility & contrast

On white

5.66
#6156CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6156CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CC#FFFFFF#000000##FFFFFF
##6156CC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#357189
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6156cc;
/* rgb */ color: rgb(97, 86, 204);
/* oklch */ color: oklch(52.9% 0.176 282.8);
Tailwind
colors: {
  custom: {
    50: '#9686dc',
    500: '#6156cc',
    950: '#000000',
  },
}
SCSS
$custom: #6156cc;
$custom-light: #9686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6156cc",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 245.593,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.17632,
    "h": 282.8
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#6156CC
secondary
#D2D7A7
accent
#DD4BCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CC

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

Preview Lab → · Contrast checker → · Palette generator →

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