#6154E8#6154E8

#6154E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.215 H 280.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6154E8
RGBrgb(97, 84, 232)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(58.2%, 63.8%, 0%, 9%)
CIE-LABlab(45.23, 46.12, -73.36)
CIE-LCHlch(45.23, 86.66, 302.15°)
OKLaboklab(54.72% 0.0393 -0.2111)
OKLCHoklch(54.72% 0.215 280.5)
XYZxyz(22.6610, 14.7067, 77.9728)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154E8 #DBE854
analogous
#5491E8 #6154E8 #AB54E8
triadic
#6154E8 #E86154 #54E861
tetradic
#6154E8 #E85491 #DBE854 #54E8AB
square
#6154E8 #E85491 #DBE854 #54E8AB
split-complementary
#6154E8 #E8AB54 #91E854
monochromatic
#2417AB #2F1EE1 #6154E8 #938AEF #C5C0F7

Accessibility & contrast

On white

5.33
#6154E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6154E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154E8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154E8#FFFFFF#000000##FFFFFF
##6154E81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6154e8;
/* rgb */ color: rgb(97, 84, 232);
/* oklch */ color: oklch(54.7% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#9b85f0',
    500: '#6154e8',
    950: '#000000',
  },
}
SCSS
$custom: #6154e8;
$custom-light: #9b85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6154e8",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 245.27,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.21473,
    "h": 280.5
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#6154E8
secondary
#E2E7B1
accent
#D80DC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6154E8

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

Preview Lab → · Contrast checker → · Palette generator →

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