#6054DA#6054DA

#6054DA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.5% C 0.197 H 281.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6054DA
RGBrgb(96, 84, 218)
HSLhsl(245, 64%, 59%)
HSVhsv(245, 61%, 85%)
CMYKcmyk(56%, 61.5%, 0%, 14.5%)
CIE-LABlab(44.07, 41.63, -67.31)
CIE-LCHlch(44.07, 79.14, 301.74°)
OKLaboklab(53.52% 0.0392 -0.1933)
OKLCHoklch(53.52% 0.197 281.4)
XYZxyz(20.6451, 13.8881, 67.9089)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054DA #CEDA54
analogous
#548BDA #6054DA #A354DA
triadic
#6054DA #DA6054 #54DA60
tetradic
#6054DA #DA548B #CEDA54 #54DAA3
square
#6054DA #DA548B #CEDA54 #54DAA3
split-complementary
#6054DA #DAA354 #8BDA54
monochromatic
#2A2094 #392BC6 #6054DA #8F86E5 #BEB9F0

Accessibility & contrast

On white

5.56
#6054DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6054DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054DA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054DA#FFFFFF#000000##FFFFFF
##6054DA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#20758F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6054da;
/* rgb */ color: rgb(96, 84, 218);
/* oklch */ color: oklch(53.5% 0.197 281.4);
Tailwind
colors: {
  custom: {
    50: '#9885e6',
    500: '#6054da',
    950: '#000000',
  },
}
SCSS
$custom: #6054da;
$custom-light: #9885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6054da",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 245.373,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.19724,
    "h": 281.4
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#6054DA
secondary
#DADFAB
accent
#E740D8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #6054DA

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

Preview Lab → · Contrast checker → · Palette generator →

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