#6154CA#6154CA

#6154CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.176 H 283.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6154CA
RGBrgb(97, 84, 202)
HSLhsl(247, 53%, 56%)
HSVhsv(247, 58%, 79%)
CMYKcmyk(52%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.98, 36.87, -59.89)
CIE-LCHlch(42.98, 70.33, 301.62°)
OKLaboklab(52.37% 0.0411 -0.1715)
OKLCHoklch(52.37% 0.176 283.5)
XYZxyz(18.7575, 13.1453, 57.4146)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154CA #BDCA54
analogous
#5482CA #6154CA #9C54CA
triadic
#6154CA #CA6154 #54CA61
tetradic
#6154CA #CA5482 #BDCA54 #54CA9C
square
#6154CA #CA5482 #BDCA54 #54CA9C
split-complementary
#6154CA #CA9C54 #82CA54
monochromatic
#30277D #4235AC #6154CA #8C83D8 #B7B1E7

Accessibility & contrast

On white

5.79
#6154CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6154CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154CA#FFFFFF#000000##FFFFFF
##6154CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#376F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6154ca;
/* rgb */ color: rgb(97, 84, 202);
/* oklch */ color: oklch(52.4% 0.176 283.5);
Tailwind
colors: {
  custom: {
    50: '#9684db',
    500: '#6154ca',
    950: '#000000',
  },
}
SCSS
$custom: #6154ca;
$custom-light: #9684db;
$custom-dark: #000000;
JSON
{
  "hex": "#6154ca",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 246.61,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.17633,
    "h": 283.5
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#6154CA
secondary
#D0D5A5
accent
#DC4CCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154CA

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

Preview Lab → · Contrast checker → · Palette generator →

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