#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 |
|---|---|
| RGB | rgb(96, 84, 207) |
| HSL | hsl(246, 56%, 57%) |
| HSV | hsv(246, 59%, 81%) |
| CMYK | cmyk(53.6%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.26, 38.22, -62.32) |
| CIE-LCH | lch(43.26, 73.11, 301.52°) |
| OKLab | oklab(52.66% 0.0397 -0.1787) |
| OKLCH | oklch(52.66% 0.183 282.5) |
| XYZ | xyz(19.2532, 13.3313, 60.5781) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.02
Slate Blue
#6A5ACD
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.75
Dark Periwinkle
#665FD1
ΔE00 3.42
Warm Blue
#4B57DB
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 5.39
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 |
|---|---|---|---|---|
| ##6054CF | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.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