#6054CA#6054CA

#6054CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.176 H 283.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6054CA
RGBrgb(96, 84, 202)
HSLhsl(246, 53%, 56%)
HSVhsv(246, 58%, 79%)
CMYKcmyk(52.5%, 58.4%, 0%, 20.8%)
CIE-LABlab(42.90, 36.68, -60.02)
CIE-LCHlch(42.90, 70.34, 301.43°)
OKLaboklab(52.29% 0.0398 -0.1719)
OKLCHoklch(52.29% 0.176 283)
XYZxyz(18.6516, 13.0907, 57.4096)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054CA #BECA54
analogous
#5483CA #6054CA #9B54CA
triadic
#6054CA #CA6054 #54CA60
tetradic
#6054CA #CA5483 #BECA54 #54CA9B
square
#6054CA #CA5483 #BECA54 #54CA9B
split-complementary
#6054CA #CA9B54 #83CA54
monochromatic
#2F277D #4135AC #6054CA #8B83D8 #B7B1E7

Accessibility & contrast

On white

5.80
#6054CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6054CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054CA#FFFFFF#000000##FFFFFF
##6054CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#347087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6054ca;
/* rgb */ color: rgb(96, 84, 202);
/* oklch */ color: oklch(52.3% 0.176 283.0);
Tailwind
colors: {
  custom: {
    50: '#9584db',
    500: '#6054ca',
    950: '#000000',
  },
}
SCSS
$custom: #6054ca;
$custom-light: #9584db;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ca",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 246.102,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.17646,
    "h": 283
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#6054CA
secondary
#D0D5A5
accent
#DC4CCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6054CA

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

Preview Lab → · Contrast checker → · Palette generator →

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