#6054DF#6054DF

#6054DF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.204 H 281.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6054DF
RGBrgb(96, 84, 223)
HSLhsl(245, 68%, 60%)
HSVhsv(245, 62%, 87%)
CMYKcmyk(57%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.45, 43.18, -69.53)
CIE-LCHlch(44.45, 81.85, 301.84°)
OKLaboklab(53.91% 0.0388 -0.1999)
OKLCHoklch(53.91% 0.204 281)
XYZxyz(21.3093, 14.1537, 71.4068)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054DF #D3DF54
analogous
#548DDF #6054DF #A654DF
triadic
#6054DF #DF6054 #54DF60
tetradic
#6054DF #DF548D #D3DF54 #54DFA6
square
#6054DF #DF548D #D3DF54 #54DFA6
split-complementary
#6054DF #DFA654 #8DDF54
monochromatic
#281D9C #3527CF #6054DF #9088E9 #C0BBF2

Accessibility & contrast

On white

5.48
#6054DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6054DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054DF#FFFFFF#000000##FFFFFF
##6054DF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#167692
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6054df;
/* rgb */ color: rgb(96, 84, 223);
/* oklch */ color: oklch(53.9% 0.204 281.0);
Tailwind
colors: {
  custom: {
    50: '#9985ea',
    500: '#6054df',
    950: '#000000',
  },
}
SCSS
$custom: #6054df;
$custom-light: #9985ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6054df",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 245.18,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.2036,
    "h": 281
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#6054DF
secondary
#DDE2AD
accent
#D015C0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6054DF

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

Preview Lab → · Contrast checker → · Palette generator →

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