#6156CD#6156CD

#6156CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.178 H 282.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6156CD
RGBrgb(97, 86, 205)
HSLhsl(246, 54%, 57%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.7%, 58%, 0%, 19.6%)
CIE-LABlab(43.66, 36.60, -60.52)
CIE-LCHlch(43.66, 70.73, 301.16°)
OKLaboklab(52.93% 0.0389 -0.1733)
OKLCHoklch(52.93% 0.178 282.7)
XYZxyz(19.2736, 13.6036, 59.3559)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CD #C2CD56
analogous
#5687CD #6156CD #9C56CD
triadic
#6156CD #CD6156 #56CD61
tetradic
#6156CD #CD5687 #C2CD56 #56CD9C
square
#6156CD #CD5687 #C2CD56 #56CD9C
split-complementary
#6156CD #CD9C56 #87CD56
monochromatic
#2F2682 #4034B1 #6156CD #8D85DB #B9B4E9

Accessibility & contrast

On white

5.64
#6156CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6156CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CD#FFFFFF#000000##FFFFFF
##6156CD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#347289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6156cd;
/* rgb */ color: rgb(97, 86, 205);
/* oklch */ color: oklch(52.9% 0.178 282.7);
Tailwind
colors: {
  custom: {
    50: '#9686dd',
    500: '#6156cd',
    950: '#000000',
  },
}
SCSS
$custom: #6156cd;
$custom-light: #9686dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6156cd",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 245.546,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.17765,
    "h": 282.7
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#6156CD
secondary
#D3D8A7
accent
#DE4AD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CD

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

Preview Lab → · Contrast checker → · Palette generator →

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