#6054CF#6054CF

#6054CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.7% C 0.183 H 282.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6054CF
RGBrgb(96, 84, 207)
HSLhsl(246, 56%, 57%)
HSVhsv(246, 59%, 81%)
CMYKcmyk(53.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(43.26, 38.22, -62.32)
CIE-LCHlch(43.26, 73.11, 301.52°)
OKLaboklab(52.66% 0.0397 -0.1787)
OKLCHoklch(52.66% 0.183 282.5)
XYZxyz(19.2532, 13.3313, 60.5781)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054CF #C3CF54
analogous
#5485CF #6054CF #9E54CF
triadic
#6054CF #CF6054 #54CF60
tetradic
#6054CF #CF5485 #C3CF54 #54CF9E
square
#6054CF #CF5485 #C3CF54 #54CF9E
split-complementary
#6054CF #CF9E54 #85CF54
monochromatic
#2E2584 #3F32B3 #6054CF #8C84DC #B9B4EA

Accessibility & contrast

On white

5.73
#6054CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6054CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054CF#FFFFFF#000000##FFFFFF
##6054CF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#2F7189
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6054cf;
/* rgb */ color: rgb(96, 84, 207);
/* oklch */ color: oklch(52.7% 0.183 282.5);
Tailwind
colors: {
  custom: {
    50: '#9684de',
    500: '#6054cf',
    950: '#000000',
  },
}
SCSS
$custom: #6054cf;
$custom-light: #9684de;
$custom-dark: #000000;
JSON
{
  "hex": "#6054cf",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 245.854,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.18303,
    "h": 282.5
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#6054CF
secondary
#D4D8A6
accent
#DF48D1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6054CF

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

Preview Lab → · Contrast checker → · Palette generator →

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