#6156BF#6156BF

#6156BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.159 H 284.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6156BF
RGBrgb(97, 86, 191)
HSLhsl(246, 45%, 54%)
HSVhsv(246, 55%, 75%)
CMYKcmyk(49.2%, 55%, 0%, 25.1%)
CIE-LABlab(42.70, 32.29, -53.96)
CIE-LCHlch(42.70, 62.89, 300.89°)
OKLaboklab(51.92% 0.0388 -0.154)
OKLCHoklch(51.92% 0.159 284.1)
XYZxyz(17.6587, 12.9577, 50.8507)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156BF #B4BF56
analogous
#5680BF #6156BF #9656BF
triadic
#6156BF #BF6156 #56BF61
tetradic
#6156BF #BF5680 #B4BF56 #56BF96
square
#6156BF #BF5680 #B4BF56 #56BF96
split-complementary
#6156BF #BF9656 #80BF56
monochromatic
#322A70 #453B9D #6156BF #8B82D0 #B4AFE1

Accessibility & contrast

On white

5.85
#6156BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6156BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156BF#FFFFFF#000000##FFFFFF
##6156BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#1061BD
Tritanopia (blue-blind)
#3F6D82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6156bf;
/* rgb */ color: rgb(97, 86, 191);
/* oklch */ color: oklch(51.9% 0.159 284.1);
Tailwind
colors: {
  custom: {
    50: '#9486d3',
    500: '#6156bf',
    950: '#000000',
  },
}
SCSS
$custom: #6156bf;
$custom-light: #9486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6156bf",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 246.286,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.15887,
    "h": 284.1
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#6156BF
secondary
#CACFA2
accent
#D553C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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