#6054E4#6054E4

#6054E4 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.210 H 280.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6054E4
RGBrgb(96, 84, 228)
HSLhsl(245, 73%, 61%)
HSVhsv(245, 63%, 89%)
CMYKcmyk(57.9%, 63.2%, 0%, 10.6%)
CIE-LABlab(44.84, 44.72, -71.74)
CIE-LCHlch(44.84, 84.54, 301.94°)
OKLaboklab(54.32% 0.0384 -0.2064)
OKLCHoklch(54.32% 0.21 280.5)
XYZxyz(21.9934, 14.4274, 75.0096)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054E4 #D8E454
analogous
#5490E4 #6054E4 #A854E4
triadic
#6054E4 #E46054 #54E460
tetradic
#6054E4 #E45490 #D8E454 #54E4A8
square
#6054E4 #E45490 #D8E454 #54E4A8
split-complementary
#6054E4 #E4A854 #90E454
monochromatic
#251AA4 #3122D9 #6054E4 #9189EC #C2BEF5

Accessibility & contrast

On white

5.40
#6054E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6054E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054E4#FFFFFF#000000##FFFFFF
##6054E41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#047894
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6054e4;
/* rgb */ color: rgb(96, 84, 228);
/* oklch */ color: oklch(54.3% 0.210 280.5);
Tailwind
colors: {
  custom: {
    50: '#9985ee',
    500: '#6054e4',
    950: '#000000',
  },
}
SCSS
$custom: #6054e4;
$custom-light: #9985ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6054e4",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 245,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.2099,
    "h": 280.5
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#6054E4
secondary
#E0E5AF
accent
#D511C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6054E4

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

Preview Lab → · Contrast checker → · Palette generator →

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