#6054ED#6054ED

#6054ED is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.1% C 0.221 H 279.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6054ED
RGBrgb(96, 84, 237)
HSLhsl(245, 81%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.5%, 64.6%, 0%, 7.1%)
CIE-LABlab(45.55, 47.51, -75.66)
CIE-LCHlch(45.55, 89.34, 302.12°)
OKLaboklab(55.06% 0.0376 -0.2179)
OKLCHoklch(55.06% 0.221 279.8)
XYZxyz(23.2754, 14.9402, 81.7616)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054ED #E1ED54
analogous
#5494ED #6054ED #AC54ED
triadic
#6054ED #ED6054 #54ED60
tetradic
#6054ED #ED5494 #E1ED54 #54EDAC
square
#6054ED #ED5494 #E1ED54 #54EDAC
split-complementary
#6054ED #EDAC54 #94ED54
monochromatic
#2013B4 #2D1DE7 #6054ED #938BF3 #C7C3F9

Accessibility & contrast

On white

5.27
#6054ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6054ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054ED#FFFFFF#000000##FFFFFF
##6054ED1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0066EA
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6054ed;
/* rgb */ color: rgb(96, 84, 237);
/* oklch */ color: oklch(55.1% 0.221 279.8);
Tailwind
colors: {
  custom: {
    50: '#9b85f4',
    500: '#6054ed',
    950: '#000000',
  },
}
SCSS
$custom: #6054ed;
$custom-light: #9b85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ed",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 244.706,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55055,
    "c": 0.22108,
    "h": 279.8
  },
  "luminance": 0.14942
}

Semantic roles & 50–950 ramp

primary
#6054ED
secondary
#E6EAB3
accent
#DD08CD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6054ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva