#6054EE#6054EE

#6054EE is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.1% C 0.222 H 279.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6054EE
RGBrgb(96, 84, 238)
HSLhsl(245, 82%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.7%, 64.7%, 0%, 6.7%)
CIE-LABlab(45.63, 47.81, -76.09)
CIE-LCHlch(45.63, 89.87, 302.14°)
OKLaboklab(55.14% 0.0375 -0.2191)
OKLCHoklch(55.14% 0.222 279.7)
XYZxyz(23.4219, 14.9988, 82.5332)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054EE #E2EE54
analogous
#5495EE #6054EE #AD54EE
triadic
#6054EE #EE6054 #54EE60
tetradic
#6054EE #EE5495 #E2EE54 #54EEAD
square
#6054EE #EE5495 #E2EE54 #54EEAD
split-complementary
#6054EE #EEAD54 #95EE54
monochromatic
#1F12B6 #2C1CE8 #6054EE #948CF4 #C8C3F9

Accessibility & contrast

On white

5.25
#6054EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6054EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054EE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054EE#FFFFFF#000000##FFFFFF
##6054EE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007B9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6054ee;
/* rgb */ color: rgb(96, 84, 238);
/* oklch */ color: oklch(55.1% 0.222 279.7);
Tailwind
colors: {
  custom: {
    50: '#9b85f5',
    500: '#6054ee',
    950: '#000000',
  },
}
SCSS
$custom: #6054ee;
$custom-light: #9b85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ee",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 244.675,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.22231,
    "h": 279.7
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#6054EE
secondary
#E6EAB3
accent
#DE07CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054EE

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

Preview Lab → · Contrast checker → · Palette generator →

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