#6156F1#6156F1

#6156F1 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.8% C 0.224 H 279.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6156F1
RGBrgb(97, 86, 241)
HSLhsl(244, 85%, 64%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(59.8%, 64.3%, 0%, 5.5%)
CIE-LABlab(46.37, 47.75, -76.56)
CIE-LCHlch(46.37, 90.23, 301.95°)
OKLaboklab(55.77% 0.0368 -0.2205)
OKLCHoklch(55.77% 0.224 279.5)
XYZxyz(24.1297, 15.5461, 84.9312)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156F1 #E6F156
analogous
#5699F1 #6156F1 #AF56F1
triadic
#6156F1 #F16156 #56F161
tetradic
#6156F1 #F15699 #E6F156 #56F1AF
square
#6156F1 #F15699 #E6F156 #56F1AF
split-complementary
#6156F1 #F1AF56 #99F156
monochromatic
#1C10BD #2C1DEC #6156F1 #968FF6 #CBC7FA

Accessibility & contrast

On white

5.11
#6156F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6156F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156F1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156F1#FFFFFF#000000##FFFFFF
##6156F11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6156f1;
/* rgb */ color: rgb(97, 86, 241);
/* oklch */ color: oklch(55.8% 0.224 279.5);
Tailwind
colors: {
  custom: {
    50: '#9c87f7',
    500: '#6156f1',
    950: '#000000',
  },
}
SCSS
$custom: #6156f1;
$custom-light: #9c87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6156f1",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 244.258,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.22352,
    "h": 279.5
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#6156F1
secondary
#E9ECB6
accent
#E104D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6156F1

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

Preview Lab → · Contrast checker → · Palette generator →

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