#6157C8#6157C8

#6157C8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.170 H 282.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6157C8
RGBrgb(97, 87, 200)
HSLhsl(245, 51%, 56%)
HSVhsv(245, 57%, 78%)
CMYKcmyk(51.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(43.55, 34.45, -57.82)
CIE-LCHlch(43.55, 67.30, 300.79°)
OKLaboklab(52.74% 0.0379 -0.1654)
OKLCHoklch(52.74% 0.17 282.9)
XYZxyz(18.7601, 13.5269, 56.2548)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157C8 #BEC857
analogous
#5786C8 #6157C8 #9A57C8
triadic
#6157C8 #C86157 #57C861
tetradic
#6157C8 #C85786 #BEC857 #57C89A
square
#6157C8 #C85786 #BEC857 #57C89A
split-complementary
#6157C8 #C89A57 #86C857
monochromatic
#30297C #4238AA #6157C8 #8C85D7 #B8B3E6

Accessibility & contrast

On white

5.67
#6157C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6157C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157C8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157C8#FFFFFF#000000##FFFFFF
##6157C81.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#387187
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6157c8;
/* rgb */ color: rgb(97, 87, 200);
/* oklch */ color: oklch(52.7% 0.170 282.9);
Tailwind
colors: {
  custom: {
    50: '#9686d9',
    500: '#6157c8',
    950: '#000000',
  },
}
SCSS
$custom: #6157c8;
$custom-light: #9686d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6157c8",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 245.31,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.16965,
    "h": 282.9
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#6157C8
secondary
#D1D5A6
accent
#DA4ECE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6157C8

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

Preview Lab → · Contrast checker → · Palette generator →

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