#6054EF#6054EF

#6054EF is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.224 H 279.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6054EF
RGBrgb(96, 84, 239)
HSLhsl(245, 83%, 63%)
HSVhsv(245, 65%, 94%)
CMYKcmyk(59.8%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.71, 48.12, -76.52)
CIE-LCHlch(45.71, 90.40, 302.16°)
OKLaboklab(55.22% 0.0374 -0.2204)
OKLCHoklch(55.22% 0.224 279.6)
XYZxyz(23.5692, 15.0577, 83.3090)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054EF #E3EF54
analogous
#5495EF #6054EF #AD54EF
triadic
#6054EF #EF6054 #54EF60
tetradic
#6054EF #EF5495 #E3EF54 #54EFAD
square
#6054EF #EF5495 #E3EF54 #54EFAD
split-complementary
#6054EF #EFAD54 #95EF54
monochromatic
#1E11B7 #2C1CEA #6054EF #948CF4 #C8C4F9

Accessibility & contrast

On white

5.23
#6054EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6054EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054EF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054EF#FFFFFF#000000##FFFFFF
##6054EF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6054ef;
/* rgb */ color: rgb(96, 84, 239);
/* oklch */ color: oklch(55.2% 0.224 279.6);
Tailwind
colors: {
  custom: {
    50: '#9b85f5',
    500: '#6054ef',
    950: '#000000',
  },
}
SCSS
$custom: #6054ef;
$custom-light: #9b85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ef",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 244.645,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.22353,
    "h": 279.6
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#6054EF
secondary
#E7EBB4
accent
#DF06CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054EF

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

Preview Lab → · Contrast checker → · Palette generator →

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