#6054E9#6054E9

#6054E9 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.216 H 280.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6054E9
RGBrgb(96, 84, 233)
HSLhsl(245, 77%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(58.8%, 63.9%, 0%, 8.6%)
CIE-LABlab(45.23, 46.27, -73.93)
CIE-LCHlch(45.23, 87.21, 302.04°)
OKLaboklab(54.73% 0.038 -0.2128)
OKLCHoklch(54.73% 0.216 280.1)
XYZxyz(22.6975, 14.7090, 78.7181)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054E9 #DDE954
analogous
#5493E9 #6054E9 #AA54E9
triadic
#6054E9 #E96054 #54E960
tetradic
#6054E9 #E95493 #DDE954 #54E9AA
square
#6054E9 #E95493 #DDE954 #54E9AA
split-complementary
#6054E9 #E9AA54 #93E954
monochromatic
#2216AC #2E1EE2 #6054E9 #928AF0 #C5C0F7

Accessibility & contrast

On white

5.33
#6054E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6054E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054E9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054E9#FFFFFF#000000##FFFFFF
##6054E91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6054e9;
/* rgb */ color: rgb(96, 84, 233);
/* oklch */ color: oklch(54.7% 0.216 280.1);
Tailwind
colors: {
  custom: {
    50: '#9a85f1',
    500: '#6054e9',
    950: '#000000',
  },
}
SCSS
$custom: #6054e9;
$custom-light: #9a85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6054e9",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 244.832,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54725,
    "c": 0.21614,
    "h": 280.1
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#6054E9
secondary
#E3E8B1
accent
#D90CC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054E9

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

Preview Lab → · Contrast checker → · Palette generator →

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