#6156DE#6156DE

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

Color values

HEX#6156DE
RGBrgb(97, 86, 222)
HSLhsl(245, 67%, 60%)
HSVhsv(245, 61%, 87%)
CMYKcmyk(56.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(44.90, 41.86, -68.24)
CIE-LCHlch(44.90, 80.05, 301.53°)
OKLaboklab(54.24% 0.0383 -0.196)
OKLCHoklch(54.24% 0.2 281.1)
XYZxyz(21.4383, 14.4695, 70.7563)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6156DE #D3DE56
analogous
#568FDE #6156DE #A556DE
triadic
#6156DE #DE6156 #56DE61
tetradic
#6156DE #DE568F #D3DE56 #56DEA5
square
#6156DE #DE568F #D3DE56 #56DEA5
split-complementary
#6156DE #DEA556 #8FDE56
monochromatic
#281E9B #3628CE #6156DE #9189E8 #C1BCF2

Accessibility & contrast

On white

5.39
#6156DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6156DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6156DE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6156DE#FFFFFF#000000##FFFFFF
##6156DE1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#1D7792
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6156de;
/* rgb */ color: rgb(97, 86, 222);
/* oklch */ color: oklch(54.2% 0.200 281.1);
Tailwind
colors: {
  custom: {
    50: '#9986e9',
    500: '#6156de',
    950: '#000000',
  },
}
SCSS
$custom: #6156de;
$custom-light: #9986e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6156de",
  "rgb": {
    "r": 97,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 244.853,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.19972,
    "h": 281.1
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#6156DE
secondary
#DEE2AE
accent
#CF16C0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6156DE

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

Preview Lab → · Contrast checker → · Palette generator →

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