#6156DD#6156DD

#6156DD is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.2% C 0.198 H 281.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6156DD
RGBrgb(97, 86, 221)
HSLhsl(245, 67%, 60%)
HSVhsv(245, 61%, 87%)
CMYKcmyk(56.1%, 61.1%, 0%, 13.3%)
CIE-LABlab(44.82, 41.55, -67.79)
CIE-LCHlch(44.82, 79.51, 301.51°)
OKLaboklab(54.16% 0.0383 -0.1947)
OKLCHoklch(54.16% 0.198 281.1)
XYZxyz(21.3046, 14.4160, 70.0525)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156DD #D2DD56
analogous
#568EDD #6156DD #A456DD
triadic
#6156DD #DD6156 #56DD61
tetradic
#6156DD #DD568E #D2DD56 #56DDA4
square
#6156DD #DD568E #D2DD56 #56DDA4
split-complementary
#6156DD #DDA456 #8EDD56
monochromatic
#291F9A #3629CD #6156DD #9189E7 #C0BCF2

Accessibility & contrast

On white

5.41
#6156DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6156DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156DD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156DD#FFFFFF#000000##FFFFFF
##6156DD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#1F7791
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6156dd;
/* rgb */ color: rgb(97, 86, 221);
/* oklch */ color: oklch(54.2% 0.198 281.1);
Tailwind
colors: {
  custom: {
    50: '#9986e8',
    500: '#6156dd',
    950: '#000000',
  },
}
SCSS
$custom: #6156dd;
$custom-light: #9986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6156dd",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 244.889,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.19845,
    "h": 281.1
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#6156DD
secondary
#DDE1AE
accent
#CE17BF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6156DD

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

Preview Lab → · Contrast checker → · Palette generator →

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