#6154C8#6154C8

#6154C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.174 H 283.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6154C8
RGBrgb(97, 84, 200)
HSLhsl(247, 51%, 56%)
HSVhsv(247, 58%, 78%)
CMYKcmyk(51.5%, 58%, 0%, 21.6%)
CIE-LABlab(42.84, 36.26, -58.96)
CIE-LCHlch(42.84, 69.22, 301.59°)
OKLaboklab(52.22% 0.0411 -0.1687)
OKLCHoklch(52.22% 0.174 283.7)
XYZxyz(18.5223, 13.0512, 56.1755)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154C8 #BBC854
analogous
#5481C8 #6154C8 #9B54C8
triadic
#6154C8 #C86154 #54C861
tetradic
#6154C8 #C85481 #BBC854 #54C89B
square
#6154C8 #C85481 #BBC854 #54C89B
split-complementary
#6154C8 #C89B54 #81C854
monochromatic
#31277A #4336A9 #6154C8 #8C82D7 #B7B1E6

Accessibility & contrast

On white

5.82
#6154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6154C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154C8#FFFFFF#000000##FFFFFF
##6154C81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#386F86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6154c8;
/* rgb */ color: rgb(97, 84, 200);
/* oklch */ color: oklch(52.2% 0.174 283.7);
Tailwind
colors: {
  custom: {
    50: '#9684d9',
    500: '#6154c8',
    950: '#000000',
  },
}
SCSS
$custom: #6154c8;
$custom-light: #9684d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6154c8",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 246.724,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.17368,
    "h": 283.7
  },
  "luminance": 0.13052
}

Semantic roles & 50–950 ramp

primary
#6154C8
secondary
#CFD4A4
accent
#DB4DCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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