#6054CE#6054CE

#6054CE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.182 H 282.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6054CE
RGBrgb(96, 84, 206)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 59%, 81%)
CMYKcmyk(53.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(43.19, 37.91, -61.87)
CIE-LCHlch(43.19, 72.56, 301.50°)
OKLaboklab(52.59% 0.0397 -0.1773)
OKLCHoklch(52.59% 0.182 282.6)
XYZxyz(19.1314, 13.2826, 59.9362)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054CE #C2CE54
analogous
#5485CE #6054CE #9D54CE
triadic
#6054CE #CE6054 #54CE60
tetradic
#6054CE #CE5485 #C2CE54 #54CE9D
square
#6054CE #CE5485 #C2CE54 #54CE9D
split-complementary
#6054CE #CE9D54 #85CE54
monochromatic
#2E2582 #3F33B2 #6054CE #8C84DC #B8B3E9

Accessibility & contrast

On white

5.74
#6054CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6054CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054CE#FFFFFF#000000##FFFFFF
##6054CE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#307189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6054ce;
/* rgb */ color: rgb(96, 84, 206);
/* oklch */ color: oklch(52.6% 0.182 282.6);
Tailwind
colors: {
  custom: {
    50: '#9684de',
    500: '#6054ce',
    950: '#000000',
  },
}
SCSS
$custom: #6054ce;
$custom-light: #9684de;
$custom-dark: #000000;
JSON
{
  "hex": "#6054ce",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 245.902,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.18172,
    "h": 282.6
  },
  "luminance": 0.13284
}

Semantic roles & 50–950 ramp

primary
#6054CE
secondary
#D3D8A6
accent
#DF49D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6054CE

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

Preview Lab → · Contrast checker → · Palette generator →

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