#6054F0#6054F0

#6054F0 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.3% C 0.225 H 279.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6054F0
RGBrgb(96, 84, 240)
HSLhsl(245, 84%, 64%)
HSVhsv(245, 65%, 94%)
CMYKcmyk(60%, 65%, 0%, 5.9%)
CIE-LABlab(45.79, 48.43, -76.95)
CIE-LCHlch(45.79, 90.92, 302.18°)
OKLaboklab(55.31% 0.0373 -0.2216)
OKLCHoklch(55.31% 0.225 279.5)
XYZxyz(23.7174, 15.1170, 84.0892)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054F0 #E4F054
analogous
#5496F0 #6054F0 #AE54F0
triadic
#6054F0 #F06054 #54F060
tetradic
#6054F0 #F05496 #E4F054 #54F0AE
square
#6054F0 #F05496 #E4F054 #54F0AE
split-complementary
#6054F0 #F0AE54 #96F054
monochromatic
#1D10B9 #2C1CEB #6054F0 #948CF5 #C9C5FA

Accessibility & contrast

On white

5.22
#6054F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6054F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054F0#FFFFFF#000000##FFFFFF
##6054F01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#0066ED
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6054f0;
/* rgb */ color: rgb(96, 84, 240);
/* oklch */ color: oklch(55.3% 0.225 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b85f6',
    500: '#6054f0',
    950: '#000000',
  },
}
SCSS
$custom: #6054f0;
$custom-light: #9b85f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6054f0",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 240
  },
  "hsl": {
    "h": 244.615,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.22476,
    "h": 279.5
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#6054F0
secondary
#E7ECB4
accent
#E005CF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6054F0

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

Preview Lab → · Contrast checker → · Palette generator →

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