#6054DC#6054DC

#6054DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.7% C 0.200 H 281.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6054DC
RGBrgb(96, 84, 220)
HSLhsl(245, 66%, 60%)
HSVhsv(245, 62%, 86%)
CMYKcmyk(56.4%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.22, 42.25, -68.20)
CIE-LCHlch(44.22, 80.22, 301.78°)
OKLaboklab(53.67% 0.039 -0.196)
OKLCHoklch(53.67% 0.2 281.3)
XYZxyz(20.9084, 13.9934, 69.2955)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054DC #D0DC54
analogous
#548CDC #6054DC #A454DC
triadic
#6054DC #DC6054 #54DC60
tetradic
#6054DC #DC548C #D0DC54 #54DCA4
square
#6054DC #DC548C #D0DC54 #54DCA4
split-complementary
#6054DC #DCA454 #8CDC54
monochromatic
#291F97 #3729CA #6054DC #8F87E6 #BEBAF1

Accessibility & contrast

On white

5.53
#6054DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6054DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054DC#FFFFFF#000000##FFFFFF
##6054DC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#1D7590
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6054dc;
/* rgb */ color: rgb(96, 84, 220);
/* oklch */ color: oklch(53.7% 0.200 281.3);
Tailwind
colors: {
  custom: {
    50: '#9885e8',
    500: '#6054dc',
    950: '#000000',
  },
}
SCSS
$custom: #6054dc;
$custom-light: #9885e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6054dc",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 245.294,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.1998,
    "h": 281.3
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#6054DC
secondary
#DCE0AC
accent
#E93FDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6054DC

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

Preview Lab → · Contrast checker → · Palette generator →

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