#6154EE#6154EE

#6154EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.222 H 280.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6154EE
RGBrgb(97, 84, 238)
HSLhsl(245, 82%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.2%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.71, 47.96, -75.97)
CIE-LCHlch(45.71, 89.84, 302.27°)
OKLaboklab(55.21% 0.0387 -0.2187)
OKLCHoklch(55.21% 0.222 280)
XYZxyz(23.5278, 15.0534, 82.5381)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154EE #E1EE54
analogous
#5494EE #6154EE #AE54EE
triadic
#6154EE #EE6154 #54EE61
tetradic
#6154EE #EE5494 #E1EE54 #54EEAE
square
#6154EE #EE5494 #E1EE54 #54EEAE
split-complementary
#6154EE #EEAE54 #94EE54
monochromatic
#2012B6 #2E1CE8 #6154EE #948CF4 #C8C3F9

Accessibility & contrast

On white

5.24
#6154EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6154EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154EE#FFFFFF#000000##FFFFFF
##6154EE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6154ee;
/* rgb */ color: rgb(97, 84, 238);
/* oklch */ color: oklch(55.2% 0.222 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b85f5',
    500: '#6154ee',
    950: '#000000',
  },
}
SCSS
$custom: #6154ee;
$custom-light: #9b85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6154ee",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 245.065,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.22214,
    "h": 280
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#6154EE
secondary
#E6EAB3
accent
#DE07CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6154EE

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

Preview Lab → · Contrast checker → · Palette generator →

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