#6157BF#6157BF

#6157BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.157 H 283.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6157BF
RGBrgb(97, 87, 191)
HSLhsl(246, 45%, 55%)
HSVhsv(246, 54%, 75%)
CMYKcmyk(49.2%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.94, 31.68, -53.57)
CIE-LCHlch(42.94, 62.24, 300.60°)
OKLaboklab(52.1% 0.0377 -0.1529)
OKLCHoklch(52.1% 0.157 283.8)
XYZxyz(17.7391, 13.1185, 50.8775)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157BF #B5BF57
analogous
#5781BF #6157BF #9557BF
triadic
#6157BF #BF6157 #57BF61
tetradic
#6157BF #BF5781 #B5BF57 #57BF95
square
#6157BF #BF5781 #B5BF57 #57BF95
split-complementary
#6157BF #BF9557 #81BF57
monochromatic
#322B71 #453C9D #6157BF #8B83D0 #B4B0E1

Accessibility & contrast

On white

5.80
#6157BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6157BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157BF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157BF#FFFFFF#000000##FFFFFF
##6157BF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#1462BD
Tritanopia (blue-blind)
#3F6E82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6157bf;
/* rgb */ color: rgb(97, 87, 191);
/* oklch */ color: oklch(52.1% 0.157 283.8);
Tailwind
colors: {
  custom: {
    50: '#9486d3',
    500: '#6157bf',
    950: '#000000',
  },
}
SCSS
$custom: #6157bf;
$custom-light: #9486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6157bf",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 245.769,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.15747,
    "h": 283.8
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#6157BF
secondary
#CBCFA3
accent
#D553C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6157BF

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

Preview Lab → · Contrast checker → · Palette generator →

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