#6054DD#6054DD

#6054DD is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.201 H 281.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6054DD
RGBrgb(96, 84, 221)
HSLhsl(245, 67%, 60%)
HSVhsv(245, 62%, 87%)
CMYKcmyk(56.6%, 62%, 0%, 13.3%)
CIE-LABlab(44.30, 42.56, -68.65)
CIE-LCHlch(44.30, 80.77, 301.80°)
OKLaboklab(53.75% 0.039 -0.1973)
OKLCHoklch(53.75% 0.201 281.2)
XYZxyz(21.0413, 14.0465, 69.9951)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054DD #D1DD54
analogous
#548DDD #6054DD #A454DD
triadic
#6054DD #DD6054 #54DD60
tetradic
#6054DD #DD548D #D1DD54 #54DDA4
square
#6054DD #DD548D #D1DD54 #54DDA4
split-complementary
#6054DD #DDA454 #8DDD54
monochromatic
#291E98 #3728CB #6054DD #8F87E7 #BFBAF1

Accessibility & contrast

On white

5.51
#6054DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6054DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054DD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054DD#FFFFFF#000000##FFFFFF
##6054DD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#1B7691
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6054dd;
/* rgb */ color: rgb(96, 84, 221);
/* oklch */ color: oklch(53.8% 0.201 281.2);
Tailwind
colors: {
  custom: {
    50: '#9885e9',
    500: '#6054dd',
    950: '#000000',
  },
}
SCSS
$custom: #6054dd;
$custom-light: #9885e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6054dd",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 245.255,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.20107,
    "h": 281.2
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#6054DD
secondary
#DCE1AC
accent
#EA3EDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6054DD

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

Preview Lab → · Contrast checker → · Palette generator →

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