#6156CA#6156CA

#6156CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.174 H 283.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6156CA
RGBrgb(97, 86, 202)
HSLhsl(246, 52%, 56%)
HSVhsv(246, 57%, 79%)
CMYKcmyk(52%, 57.4%, 0%, 20.8%)
CIE-LABlab(43.45, 35.67, -59.13)
CIE-LCHlch(43.45, 69.06, 301.10°)
OKLaboklab(52.71% 0.039 -0.1692)
OKLCHoklch(52.71% 0.174 283)
XYZxyz(18.9150, 13.4602, 57.4671)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CA #BFCA56
analogous
#5685CA #6156CA #9B56CA
triadic
#6156CA #CA6156 #56CA61
tetradic
#6156CA #CA5685 #BFCA56 #56CA9B
square
#6156CA #CA5685 #BFCA56 #56CA9B
split-complementary
#6156CA #CA9B56 #85CA56
monochromatic
#30287E #4136AD #6156CA #8D85D9 #B8B3E7

Accessibility & contrast

On white

5.69
#6156CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6156CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CA#FFFFFF#000000##FFFFFF
##6156CA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#367188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6156ca;
/* rgb */ color: rgb(97, 86, 202);
/* oklch */ color: oklch(52.7% 0.174 283.0);
Tailwind
colors: {
  custom: {
    50: '#9686db',
    500: '#6156ca',
    950: '#000000',
  },
}
SCSS
$custom: #6156ca;
$custom-light: #9686db;
$custom-dark: #000000;
JSON
{
  "hex": "#6156ca",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 245.69,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.17366,
    "h": 283
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#6156CA
secondary
#D1D6A6
accent
#DC4CCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CA

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

Preview Lab → · Contrast checker → · Palette generator →

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