#6154E6#6154E6

#6154E6 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.212 H 280.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6154E6
RGBrgb(97, 84, 230)
HSLhsl(245, 74%, 62%)
HSVhsv(245, 63%, 90%)
CMYKcmyk(57.8%, 63.5%, 0%, 9.8%)
CIE-LABlab(45.07, 45.50, -72.49)
CIE-LCHlch(45.07, 85.59, 302.12°)
OKLaboklab(54.55% 0.0395 -0.2085)
OKLCHoklch(54.55% 0.212 280.7)
XYZxyz(22.3785, 14.5937, 76.4852)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154E6 #D9E654
analogous
#5490E6 #6154E6 #AA54E6
triadic
#6154E6 #E66154 #54E661
tetradic
#6154E6 #E65490 #D9E654 #54E6AA
square
#6154E6 #E65490 #D9E654 #54E6AA
split-complementary
#6154E6 #E6AA54 #90E654
monochromatic
#2518A7 #3120DD #6154E6 #9289EE #C4BFF6

Accessibility & contrast

On white

5.36
#6154E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6154E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154E6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154E6#FFFFFF#000000##FFFFFF
##6154E61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#067995
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6154e6;
/* rgb */ color: rgb(97, 84, 230);
/* oklch */ color: oklch(54.6% 0.212 280.7);
Tailwind
colors: {
  custom: {
    50: '#9a85ef',
    500: '#6154e6',
    950: '#000000',
  },
}
SCSS
$custom: #6154e6;
$custom-light: #9a85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6154e6",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 245.342,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.21223,
    "h": 280.7
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#6154E6
secondary
#E1E6B0
accent
#D70FC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6154E6

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

Preview Lab → · Contrast checker → · Palette generator →

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