#6156CB#6156CB

#6156CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.175 H 282.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6156CB
RGBrgb(97, 86, 203)
HSLhsl(246, 53%, 57%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.2%, 57.6%, 0%, 20.4%)
CIE-LABlab(43.52, 35.98, -59.59)
CIE-LCHlch(43.52, 69.61, 301.12°)
OKLaboklab(52.79% 0.0389 -0.1706)
OKLCHoklch(52.79% 0.175 282.9)
XYZxyz(19.0338, 13.5077, 58.0926)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156CB #C0CB56
analogous
#5686CB #6156CB #9C56CB
triadic
#6156CB #CB6156 #56CB61
tetradic
#6156CB #CB5686 #C0CB56 #56CB9C
square
#6156CB #CB5686 #C0CB56 #56CB9C
split-complementary
#6156CB #CB9C56 #86CB56
monochromatic
#2F277F #4136AE #6156CB #8D85D9 #B9B4E8

Accessibility & contrast

On white

5.67
#6156CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6156CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156CB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156CB#FFFFFF#000000##FFFFFF
##6156CB1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#357188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6156cb;
/* rgb */ color: rgb(97, 86, 203);
/* oklch */ color: oklch(52.8% 0.175 282.9);
Tailwind
colors: {
  custom: {
    50: '#9686dc',
    500: '#6156cb',
    950: '#000000',
  },
}
SCSS
$custom: #6156cb;
$custom-light: #9686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6156cb",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 245.641,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.175,
    "h": 282.9
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#6156CB
secondary
#D2D6A6
accent
#DC4BCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6156CB

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

Preview Lab → · Contrast checker → · Palette generator →

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