#6156F2#6156F2

#6156F2 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.9% C 0.225 H 279.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6156F2
RGBrgb(97, 86, 242)
HSLhsl(244, 86%, 64%)
HSVhsv(244, 64%, 95%)
CMYKcmyk(59.9%, 64.5%, 0%, 5.1%)
CIE-LABlab(46.45, 48.06, -77.00)
CIE-LCHlch(46.45, 90.76, 301.97°)
OKLaboklab(55.85% 0.0367 -0.2217)
OKLCHoklch(55.85% 0.225 279.4)
XYZxyz(24.2795, 15.6060, 85.7200)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156F2 #E7F256
analogous
#5699F2 #6156F2 #AF56F2
triadic
#6156F2 #F26156 #56F261
tetradic
#6156F2 #F25699 #E7F256 #56F2AF
square
#6156F2 #F25699 #E7F256 #56F2AF
split-complementary
#6156F2 #F2AF56 #99F256
monochromatic
#1B0FBF #2C1DEE #6156F2 #968FF6 #CBC8FB

Accessibility & contrast

On white

5.10
#6156F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6156F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156F2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156F2#FFFFFF#000000##FFFFFF
##6156F21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6156f2;
/* rgb */ color: rgb(97, 86, 242);
/* oklch */ color: oklch(55.9% 0.225 279.4);
Tailwind
colors: {
  custom: {
    50: '#9c87f7',
    500: '#6156f2',
    950: '#000000',
  },
}
SCSS
$custom: #6156f2;
$custom-light: #9c87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6156f2",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 244.231,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.22476,
    "h": 279.4
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#6156F2
secondary
#E9EDB7
accent
#E203D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6156F2

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

Preview Lab → · Contrast checker → · Palette generator →

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