#6156BC#6156BC

#6156BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.155 H 284.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6156BC
RGBrgb(97, 86, 188)
HSLhsl(246, 43%, 54%)
HSVhsv(246, 54%, 74%)
CMYKcmyk(48.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(42.50, 31.37, -52.54)
CIE-LCHlch(42.50, 61.19, 300.85°)
OKLaboklab(51.71% 0.0387 -0.1498)
OKLCHoklch(51.71% 0.155 284.5)
XYZxyz(17.3320, 12.8270, 49.1298)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156BC #B1BC56
analogous
#567EBC #6156BC #9456BC
triadic
#6156BC #BC6156 #56BC61
tetradic
#6156BC #BC567E #B1BC56 #56BC94
square
#6156BC #BC567E #B1BC56 #56BC94
split-complementary
#6156BC #BC9456 #7EBC56
monochromatic
#322B6D #463C98 #6156BC #8A82CD #B3AEDF

Accessibility & contrast

On white

5.89
#6156BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6156BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156BC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156BC#FFFFFF#000000##FFFFFF
##6156BC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#1861BA
Tritanopia (blue-blind)
#416D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6156bc;
/* rgb */ color: rgb(97, 86, 188);
/* oklch */ color: oklch(51.7% 0.155 284.5);
Tailwind
colors: {
  custom: {
    50: '#9486d1',
    500: '#6156bc',
    950: '#000000',
  },
}
SCSS
$custom: #6156bc;
$custom-light: #9486d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6156bc",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 246.471,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.15477,
    "h": 284.5
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#6156BC
secondary
#C8CDA1
accent
#D355C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6156BC

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

Preview Lab → · Contrast checker → · Palette generator →

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