#6054CB#6054CB

#6054CB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.178 H 282.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6054CB
RGBrgb(96, 84, 203)
HSLhsl(246, 53%, 56%)
HSVhsv(246, 59%, 80%)
CMYKcmyk(52.7%, 58.6%, 0%, 20.4%)
CIE-LABlab(42.97, 36.99, -60.49)
CIE-LCHlch(42.97, 70.90, 301.45°)
OKLaboklab(52.36% 0.0398 -0.1733)
OKLCHoklch(52.36% 0.178 282.9)
XYZxyz(18.7704, 13.1382, 58.0352)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054CB #BFCB54
analogous
#5484CB #6054CB #9C54CB
triadic
#6054CB #CB6054 #54CB60
tetradic
#6054CB #CB5484 #BFCB54 #54CB9C
square
#6054CB #CB5484 #BFCB54 #54CB9C
split-complementary
#6054CB #CB9C54 #84CB54
monochromatic
#2F267E #4135AD #6054CB #8C83D9 #B7B2E8

Accessibility & contrast

On white

5.79
#6054CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6054CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054CB#FFFFFF#000000##FFFFFF
##6054CB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#337087
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6054cb;
/* rgb */ color: rgb(96, 84, 203);
/* oklch */ color: oklch(52.4% 0.178 282.9);
Tailwind
colors: {
  custom: {
    50: '#9684dc',
    500: '#6054cb',
    950: '#000000',
  },
}
SCSS
$custom: #6054cb;
$custom-light: #9684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6054cb",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 246.05,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.17778,
    "h": 282.9
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#6054CB
secondary
#D1D6A5
accent
#DD4BCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6054CB

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

Preview Lab → · Contrast checker → · Palette generator →

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