#6157CD#6157CD

#6157CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.176 H 282.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6157CD
RGBrgb(97, 87, 205)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(52.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.89, 36.00, -60.14)
CIE-LCHlch(43.89, 70.09, 300.90°)
OKLaboklab(53.11% 0.0379 -0.1722)
OKLCHoklch(53.11% 0.176 282.4)
XYZxyz(19.3540, 13.7644, 59.3827)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157CD #C3CD57
analogous
#5788CD #6157CD #9C57CD
triadic
#6157CD #CD6157 #57CD61
tetradic
#6157CD #CD5788 #C3CD57 #57CD9C
square
#6157CD #CD5788 #C3CD57 #57CD9C
split-complementary
#6157CD #CD9C57 #88CD57
monochromatic
#2F2783 #4035B2 #6157CD #8D86DB #BAB5E9

Accessibility & contrast

On white

5.60
#6157CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6157CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157CD#FFFFFF#000000##FFFFFF
##6157CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#337289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6157cd;
/* rgb */ color: rgb(97, 87, 205);
/* oklch */ color: oklch(53.1% 0.176 282.4);
Tailwind
colors: {
  custom: {
    50: '#9687dd',
    500: '#6157cd',
    950: '#000000',
  },
}
SCSS
$custom: #6157cd;
$custom-light: #9687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6157cd",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 245.085,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.17632,
    "h": 282.4
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#6157CD
secondary
#D4D8A8
accent
#DD4AD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6157CD

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

Preview Lab → · Contrast checker → · Palette generator →

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