#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 |
|---|---|
| RGB | rgb(96, 84, 203) |
| HSL | hsl(246, 53%, 56%) |
| HSV | hsv(246, 59%, 80%) |
| CMYK | cmyk(52.7%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.97, 36.99, -60.49) |
| CIE-LCH | lch(42.97, 70.90, 301.45°) |
| OKLab | oklab(52.36% 0.0398 -0.1733) |
| OKLCH | oklch(52.36% 0.178 282.9) |
| XYZ | xyz(18.7704, 13.1382, 58.0352) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.61
Slate Blue
#6A5ACD
ΔE00 2.39
Light Indigo
#6D5ACF
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 5.29
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 |
|---|---|---|---|---|
| ##6054CB | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.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