#6154E2#6154E2

#6154E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.207 H 281.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6154E2
RGBrgb(97, 84, 226)
HSLhsl(245, 71%, 61%)
HSVhsv(245, 63%, 89%)
CMYKcmyk(57.1%, 62.8%, 0%, 11.4%)
CIE-LABlab(44.76, 44.27, -70.73)
CIE-LCHlch(44.76, 83.44, 302.04°)
OKLaboklab(54.23% 0.0398 -0.2034)
OKLCHoklch(54.23% 0.207 281.1)
XYZxyz(21.8233, 14.3716, 73.5608)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154E2 #D5E254
analogous
#548EE2 #6154E2 #A854E2
triadic
#6154E2 #E26154 #54E261
tetradic
#6154E2 #E2548E #D5E254 #54E2A8
square
#6154E2 #E2548E #D5E254 #54E2A8
split-complementary
#6154E2 #E2A854 #8EE254
monochromatic
#271BA0 #3424D5 #6154E2 #9188EB #C2BDF4

Accessibility & contrast

On white

5.42
#6154E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6154E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154E2#FFFFFF#000000##FFFFFF
##6154E21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#157793
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6154e2;
/* rgb */ color: rgb(97, 84, 226);
/* oklch */ color: oklch(54.2% 0.207 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a85ec',
    500: '#6154e2',
    950: '#000000',
  },
}
SCSS
$custom: #6154e2;
$custom-light: #9a85ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6154e2",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 245.493,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.20722,
    "h": 281.1
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#6154E2
secondary
#DFE4AE
accent
#D312C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6154E2

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

Preview Lab → · Contrast checker → · Palette generator →

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