#6054F1#6054F1

#6054F1 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.226 H 279.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6054F1
RGBrgb(96, 84, 241)
HSLhsl(245, 85%, 64%)
HSVhsv(245, 65%, 95%)
CMYKcmyk(60.2%, 65.1%, 0%, 5.5%)
CIE-LABlab(45.88, 48.74, -77.38)
CIE-LCHlch(45.88, 91.45, 302.20°)
OKLaboklab(55.39% 0.0371 -0.2229)
OKLCHoklch(55.39% 0.226 279.5)
XYZxyz(23.8663, 15.1765, 84.8737)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054F1 #E5F154
analogous
#5496F1 #6054F1 #AE54F1
triadic
#6054F1 #F16054 #54F160
tetradic
#6054F1 #F15496 #E5F154 #54F1AE
square
#6054F1 #F15496 #E5F154 #54F1AE
split-complementary
#6054F1 #F1AE54 #96F154
monochromatic
#1C0FBB #2B1BEC #6054F1 #958DF6 #C9C5FA

Accessibility & contrast

On white

5.20
#6054F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6054F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054F1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054F1#FFFFFF#000000##FFFFFF
##6054F11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F6
Deuteranopia (green-blind)
#0066EE
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6054f1;
/* rgb */ color: rgb(96, 84, 241);
/* oklch */ color: oklch(55.4% 0.226 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b85f7',
    500: '#6054f1',
    950: '#000000',
  },
}
SCSS
$custom: #6054f1;
$custom-light: #9b85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6054f1",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 244.586,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.22598,
    "h": 279.5
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#6054F1
secondary
#E8ECB5
accent
#E104D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6054F1

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

Preview Lab → · Contrast checker → · Palette generator →

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