#6156BB#6156BB

#6156BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.153 H 284.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6156BB
RGBrgb(97, 86, 187)
HSLhsl(247, 43%, 54%)
HSVhsv(247, 54%, 73%)
CMYKcmyk(48.1%, 54%, 0%, 26.7%)
CIE-LABlab(42.44, 31.07, -52.06)
CIE-LCHlch(42.44, 60.62, 300.83°)
OKLaboklab(51.64% 0.0387 -0.1484)
OKLCHoklch(51.64% 0.153 284.6)
XYZxyz(17.2245, 12.7840, 48.5640)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156BB #B0BB56
analogous
#567DBB #6156BB #9356BB
triadic
#6156BB #BB6156 #56BB61
tetradic
#6156BB #BB567D #B0BB56 #56BB93
square
#6156BB #BB567D #B0BB56 #56BB93
split-complementary
#6156BB #BB9356 #7DBB56
monochromatic
#322B6B #473D97 #6156BB #8A82CD #B3ADDE

Accessibility & contrast

On white

5.90
#6156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6156BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156BB#FFFFFF#000000##FFFFFF
##6156BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#426C80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6156bb;
/* rgb */ color: rgb(97, 86, 187);
/* oklch */ color: oklch(51.6% 0.153 284.6);
Tailwind
colors: {
  custom: {
    50: '#9486d0',
    500: '#6156bb',
    950: '#000000',
  },
}
SCSS
$custom: #6156bb;
$custom-light: #9486d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6156bb",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 246.535,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.1534,
    "h": 284.6
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#6156BB
secondary
#C7CCA1
accent
#D255C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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