#6054EA#6054EA

#6054EA is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.217 H 280.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6054EA
RGBrgb(96, 84, 234)
HSLhsl(245, 78%, 62%)
HSVhsv(245, 64%, 92%)
CMYKcmyk(59%, 64.1%, 0%, 8.2%)
CIE-LABlab(45.31, 46.58, -74.36)
CIE-LCHlch(45.31, 87.75, 302.06°)
OKLaboklab(54.81% 0.0379 -0.214)
OKLCHoklch(54.81% 0.217 280)
XYZxyz(22.8408, 14.7663, 79.4725)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054EA #DEEA54
analogous
#5493EA #6054EA #AB54EA
triadic
#6054EA #EA6054 #54EA60
tetradic
#6054EA #EA5493 #DEEA54 #54EAAB
square
#6054EA #EA5493 #DEEA54 #54EAAB
split-complementary
#6054EA #EAAB54 #93EA54
monochromatic
#2215AE #2D1DE3 #6054EA #938BF1 #C5C1F7

Accessibility & contrast

On white

5.31
#6054EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6054EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054EA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054EA#FFFFFF#000000##FFFFFF
##6054EA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6054ea;
/* rgb */ color: rgb(96, 84, 234);
/* oklch */ color: oklch(54.8% 0.217 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a85f2',
    500: '#6054ea',
    950: '#000000',
  },
}
SCSS
$custom: #6054ea;
$custom-light: #9a85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ea",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 244.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.21737,
    "h": 280
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#6054EA
secondary
#E4E8B2
accent
#DA0BCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054EA

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

Preview Lab → · Contrast checker → · Palette generator →

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