#6054CD#6054CD

#6054CD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.180 H 282.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6054CD
RGBrgb(96, 84, 205)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 59%, 80%)
CMYKcmyk(53.2%, 59%, 0%, 19.6%)
CIE-LABlab(43.11, 37.61, -61.41)
CIE-LCHlch(43.11, 72.01, 301.48°)
OKLaboklab(52.51% 0.0397 -0.176)
OKLCHoklch(52.51% 0.18 282.7)
XYZxyz(19.0103, 13.2341, 59.2985)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054CD #C1CD54
analogous
#5485CD #6054CD #9C54CD
triadic
#6054CD #CD6054 #54CD60
tetradic
#6054CD #CD5485 #C1CD54 #54CD9C
square
#6054CD #CD5485 #C1CD54 #54CD9C
split-complementary
#6054CD #CD9C54 #85CD54
monochromatic
#2F2681 #4034B0 #6054CD #8C83DB #B8B3E9

Accessibility & contrast

On white

5.76
#6054CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6054CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054CD#FFFFFF#000000##FFFFFF
##6054CD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6054cd;
/* rgb */ color: rgb(96, 84, 205);
/* oklch */ color: oklch(52.5% 0.180 282.7);
Tailwind
colors: {
  custom: {
    50: '#9684dd',
    500: '#6054cd',
    950: '#000000',
  },
}
SCSS
$custom: #6054cd;
$custom-light: #9684dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6054cd",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 245.95,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.18041,
    "h": 282.7
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#6054CD
secondary
#D2D7A6
accent
#DE4ACF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6054CD

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

Preview Lab → · Contrast checker → · Palette generator →

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