#6157EE#6157EE

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

Color values

HEX#6157EE
RGBrgb(97, 87, 238)
HSLhsl(244, 82%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(59.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(46.35, 46.25, -74.92)
CIE-LCHlch(46.35, 88.04, 301.69°)
OKLaboklab(55.68% 0.0362 -0.2156)
OKLCHoklch(55.68% 0.219 279.5)
XYZxyz(23.7657, 15.5291, 82.6174)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157EE #E4EE57
analogous
#5798EE #6157EE #AD57EE
triadic
#6157EE #EE6157 #57EE61
tetradic
#6157EE #EE5798 #E4EE57 #57EEAD
square
#6157EE #EE5798 #E4EE57 #57EEAD
split-complementary
#6157EE #EEAD57 #98EE57
monochromatic
#1E13B8 #2D1FE8 #6157EE #958FF4 #CAC6F9

Accessibility & contrast

On white

5.11
#6157EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6157EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157EE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157EE#FFFFFF#000000##FFFFFF
##6157EE1.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)
#0074F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6157ee;
/* rgb */ color: rgb(97, 87, 238);
/* oklch */ color: oklch(55.7% 0.219 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b87f5',
    500: '#6157ee',
    950: '#000000',
  },
}
SCSS
$custom: #6157ee;
$custom-light: #9b87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6157ee",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 243.974,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.21866,
    "h": 279.5
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#6157EE
secondary
#E7EBB6
accent
#DE08D0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6157EE

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

Preview Lab → · Contrast checker → · Palette generator →

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