#6156F5#6156F5

#6156F5 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.228 H 279.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6156F5
RGBrgb(97, 86, 245)
HSLhsl(244, 89%, 65%)
HSVhsv(244, 65%, 96%)
CMYKcmyk(60.4%, 64.9%, 0%, 3.9%)
CIE-LABlab(46.69, 48.98, -78.28)
CIE-LCHlch(46.69, 92.34, 302.03°)
OKLaboklab(56.1% 0.0364 -0.2255)
OKLCHoklch(56.1% 0.228 279.2)
XYZxyz(24.7337, 15.7877, 88.1124)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156F5 #EAF556
analogous
#569AF5 #6156F5 #B156F5
triadic
#6156F5 #F56156 #56F561
tetradic
#6156F5 #F5569A #EAF556 #56F5B1
square
#6156F5 #F5569A #EAF556 #56F5B1
split-complementary
#6156F5 #F5B156 #9AF556
monochromatic
#180CC5 #2B1CF2 #6156F5 #9790F8 #CDCAFC

Accessibility & contrast

On white

5.05
#6156F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6156F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156F5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156F5#FFFFFF#000000##FFFFFF
##6156F51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#007F9E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6156f5;
/* rgb */ color: rgb(97, 86, 245);
/* oklch */ color: oklch(56.1% 0.228 279.2);
Tailwind
colors: {
  custom: {
    50: '#9c87fa',
    500: '#6156f5',
    950: '#000000',
  },
}
SCSS
$custom: #6156f5;
$custom-light: #9c87fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6156f5",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 244.151,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.22843,
    "h": 279.2
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#6156F5
secondary
#EBEFB8
accent
#E500D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6156F5

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

Preview Lab → · Contrast checker → · Palette generator →

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