#6157E8#6157E8

#6157E8 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.211 H 280.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6157E8
RGBrgb(97, 87, 232)
HSLhsl(244, 76%, 63%)
HSVhsv(244, 63%, 91%)
CMYKcmyk(58.2%, 62.5%, 0%, 9%)
CIE-LABlab(45.88, 44.38, -72.30)
CIE-LCHlch(45.88, 84.84, 301.55°)
OKLaboklab(55.19% 0.0367 -0.208)
OKLCHoklch(55.19% 0.211 280)
XYZxyz(22.8989, 15.1824, 78.0521)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157E8 #DEE857
analogous
#5795E8 #6157E8 #AA57E8
triadic
#6157E8 #E86157 #57E861
tetradic
#6157E8 #E85795 #DEE857 #57E8AA
square
#6157E8 #E85795 #DEE857 #57E8AA
split-complementary
#6157E8 #E8AA57 #95E857
monochromatic
#2218AD #2E21E1 #6157E8 #948DEF #C6C3F7

Accessibility & contrast

On white

5.20
#6157E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6157E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157E8#FFFFFF#000000##FFFFFF
##6157E81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6157e8;
/* rgb */ color: rgb(97, 87, 232);
/* oklch */ color: oklch(55.2% 0.211 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a87f0',
    500: '#6157e8',
    950: '#000000',
  },
}
SCSS
$custom: #6157e8;
$custom-light: #9a87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6157e8",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 244.138,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.21118,
    "h": 280
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#6157E8
secondary
#E4E8B3
accent
#D80DCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6157E8

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

Preview Lab → · Contrast checker → · Palette generator →

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