#6154E5#6154E5

#6154E5 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.211 H 280.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6154E5
RGBrgb(97, 84, 229)
HSLhsl(245, 74%, 61%)
HSVhsv(245, 63%, 90%)
CMYKcmyk(57.6%, 63.3%, 0%, 10.2%)
CIE-LABlab(44.99, 45.19, -72.05)
CIE-LCHlch(44.99, 85.05, 302.10°)
OKLaboklab(54.47% 0.0396 -0.2072)
OKLCHoklch(54.47% 0.211 280.8)
XYZxyz(22.2385, 14.5377, 75.7477)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154E5 #D8E554
analogous
#5490E5 #6154E5 #AA54E5
triadic
#6154E5 #E56154 #54E561
tetradic
#6154E5 #E55490 #D8E554 #54E5AA
square
#6154E5 #E55490 #D8E554 #54E5AA
split-complementary
#6154E5 #E5AA54 #90E554
monochromatic
#2619A5 #3221DB #6154E5 #9289ED #C3BEF5

Accessibility & contrast

On white

5.37
#6154E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6154E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154E5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154E5#FFFFFF#000000##FFFFFF
##6154E51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#0B7895
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6154e5;
/* rgb */ color: rgb(97, 84, 229);
/* oklch */ color: oklch(54.5% 0.211 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a85ee',
    500: '#6154e5',
    950: '#000000',
  },
}
SCSS
$custom: #6154e5;
$custom-light: #9a85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6154e5",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 245.379,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.21098,
    "h": 280.8
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#6154E5
secondary
#E1E6AF
accent
#D610C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6154E5

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

Preview Lab → · Contrast checker → · Palette generator →

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