#6157FF#6157FF

#6157FF is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 57.1% C 0.239 H 278.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6157FF
RGBrgb(97, 87, 255)
HSLhsl(244, 100%, 67%)
HSVhsv(244, 66%, 100%)
CMYKcmyk(62%, 65.9%, 0%, 0%)
CIE-LABlab(47.72, 51.50, -82.18)
CIE-LCHlch(47.72, 96.98, 302.07°)
OKLaboklab(57.1% 0.0345 -0.2369)
OKLCHoklch(57.1% 0.239 278.3)
XYZxyz(26.3822, 16.5757, 96.3975)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157FF #F5FF57
analogous
#57A1FF #6157FF #B557FF
triadic
#6157FF #FF6157 #57FF61
tetradic
#6157FF #FF57A1 #F5FF57 #57FFB5
square
#6157FF #FF57A1 #F5FF57 #57FFB5
split-complementary
#6157FF #FFB557 #A1FF57
monochromatic
#0D00DC #271AFF #6157FF #9B94FF #D4D1FF

Accessibility & contrast

On white

4.87
#6157FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6157FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157FF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157FF#FFFFFF#000000##FFFFFF
##6157FF1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0083A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6157ff;
/* rgb */ color: rgb(97, 87, 255);
/* oklch */ color: oklch(57.1% 0.239 278.3);
Tailwind
colors: {
  custom: {
    50: '#9e88ff',
    500: '#6157ff',
    950: '#000000',
  },
}
SCSS
$custom: #6157ff;
$custom-light: #9e88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6157ff",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 243.571,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.23944,
    "h": 278.3
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#6157FF
secondary
#F0F4BE
accent
#E600D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6157FF

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

Preview Lab → · Contrast checker → · Palette generator →

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