#6154DE#6154DE

#6154DE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.202 H 281.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6154DE
RGBrgb(97, 84, 222)
HSLhsl(246, 68%, 60%)
HSVhsv(246, 62%, 87%)
CMYKcmyk(56.3%, 62.2%, 0%, 12.9%)
CIE-LABlab(44.45, 43.04, -68.96)
CIE-LCHlch(44.45, 81.29, 301.97°)
OKLaboklab(53.91% 0.0401 -0.1982)
OKLCHoklch(53.91% 0.202 281.4)
XYZxyz(21.2808, 14.1546, 70.7038)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154DE #D1DE54
analogous
#548CDE #6154DE #A654DE
triadic
#6154DE #DE6154 #54DE61
tetradic
#6154DE #DE548C #D1DE54 #54DEA6
square
#6154DE #DE548C #D1DE54 #54DEA6
split-complementary
#6154DE #DEA654 #8CDE54
monochromatic
#291E9A #3728CD #6154DE #9087E8 #C0BBF2

Accessibility & contrast

On white

5.48
#6154DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6154DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154DE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154DE#FFFFFF#000000##FFFFFF
##6154DE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#1E7691
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6154de;
/* rgb */ color: rgb(97, 84, 222);
/* oklch */ color: oklch(53.9% 0.202 281.4);
Tailwind
colors: {
  custom: {
    50: '#9985e9',
    500: '#6154de',
    950: '#000000',
  },
}
SCSS
$custom: #6154de;
$custom-light: #9985e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6154de",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 245.652,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.20218,
    "h": 281.4
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#6154DE
secondary
#DCE1AC
accent
#EB3DDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6154DE

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

Preview Lab → · Contrast checker → · Palette generator →

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