#6157E2#6157E2

#6157E2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.204 H 280.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6157E2
RGBrgb(97, 87, 226)
HSLhsl(244, 71%, 61%)
HSVhsv(244, 62%, 89%)
CMYKcmyk(57.1%, 61.5%, 0%, 11.4%)
CIE-LABlab(45.42, 42.52, -69.65)
CIE-LCHlch(45.42, 81.60, 301.40°)
OKLaboklab(54.71% 0.0371 -0.2002)
OKLCHoklch(54.71% 0.204 280.5)
XYZxyz(22.0611, 14.8473, 73.6401)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157E2 #D8E257
analogous
#5793E2 #6157E2 #A757E2
triadic
#6157E2 #E26157 #57E261
tetradic
#6157E2 #E25793 #D8E257 #57E2A7
square
#6157E2 #E25793 #D8E257 #57E2A7
split-complementary
#6157E2 #E2A757 #93E257
monochromatic
#261CA3 #3225D7 #6157E2 #928BEB #C3BFF4

Accessibility & contrast

On white

5.29
#6157E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6157E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157E2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157E2#FFFFFF#000000##FFFFFF
##6157E21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#147994
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6157e2;
/* rgb */ color: rgb(97, 87, 226);
/* oklch */ color: oklch(54.7% 0.204 280.5);
Tailwind
colors: {
  custom: {
    50: '#9987ec',
    500: '#6157e2',
    950: '#000000',
  },
}
SCSS
$custom: #6157e2;
$custom-light: #9987ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6157e2",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 244.317,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54714,
    "c": 0.20359,
    "h": 280.5
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#6157E2
secondary
#E1E4B0
accent
#D313C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6157E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6157E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva