#6156FB#6156FB

#6156FB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.6% C 0.236 H 278.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6156FB
RGBrgb(97, 86, 251)
HSLhsl(244, 95%, 66%)
HSVhsv(244, 66%, 98%)
CMYKcmyk(61.4%, 65.7%, 0%, 1.6%)
CIE-LABlab(47.18, 50.83, -80.83)
CIE-LCHlch(47.18, 95.49, 302.16°)
OKLaboklab(56.61% 0.0357 -0.233)
OKLCHoklch(56.61% 0.236 278.7)
XYZxyz(25.6646, 16.1600, 93.0148)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156FB #F0FB56
analogous
#569DFB #6156FB #B356FB
triadic
#6156FB #FB6156 #56FB61
tetradic
#6156FB #FB569D #F0FB56 #56FBB3
square
#6156FB #FB569D #F0FB56 #56FBB3
split-complementary
#6156FB #FBB356 #9DFB56
monochromatic
#1305D2 #291AFA #6156FB #9992FC #D1CEFE

Accessibility & contrast

On white

4.96
#6156FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6156FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156FB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156FB#FFFFFF#000000##FFFFFF
##6156FB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0069F8
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6156fb;
/* rgb */ color: rgb(97, 86, 251);
/* oklch */ color: oklch(56.6% 0.236 278.7);
Tailwind
colors: {
  custom: {
    50: '#9d87fe',
    500: '#6156fb',
    950: '#000000',
  },
}
SCSS
$custom: #6156fb;
$custom-light: #9d87fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6156fb",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 244,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.23572,
    "h": 278.7
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#6156FB
secondary
#EEF2BB
accent
#E600D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6156FB

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

Preview Lab → · Contrast checker → · Palette generator →

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