#6157E9#6157E9

#6157E9 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.212 H 279.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6157E9
RGBrgb(97, 87, 233)
HSLhsl(244, 77%, 63%)
HSVhsv(244, 63%, 91%)
CMYKcmyk(58.4%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.96, 44.69, -72.74)
CIE-LCHlch(45.96, 85.37, 301.57°)
OKLaboklab(55.27% 0.0366 -0.2092)
OKLCHoklch(55.27% 0.212 279.9)
XYZxyz(23.0413, 15.2393, 78.8023)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157E9 #DFE957
analogous
#5796E9 #6157E9 #AA57E9
triadic
#6157E9 #E96157 #57E961
tetradic
#6157E9 #E95796 #DFE957 #57E9AA
square
#6157E9 #E95796 #DFE957 #57E9AA
split-complementary
#6157E9 #E9AA57 #96E957
monochromatic
#2117AF #2E21E2 #6157E9 #948DF0 #C7C3F7

Accessibility & contrast

On white

5.19
#6157E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6157E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157E9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157E9#FFFFFF#000000##FFFFFF
##6157E91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6157e9;
/* rgb */ color: rgb(97, 87, 233);
/* oklch */ color: oklch(55.3% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a87f1',
    500: '#6157e9',
    950: '#000000',
  },
}
SCSS
$custom: #6157e9;
$custom-light: #9a87f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6157e9",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 244.11,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.21242,
    "h": 279.9
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#6157E9
secondary
#E5E8B3
accent
#D90CCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6157E9

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

Preview Lab → · Contrast checker → · Palette generator →

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