#6051CB#6051CB
#6051CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.182 H 283.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #6051CB |
|---|---|
| RGB | rgb(96, 81, 203) |
| HSL | hsl(247, 54%, 56%) |
| HSV | hsv(247, 60%, 80%) |
| CMYK | cmyk(52.7%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.28, 38.78, -61.60) |
| CIE-LCH | lch(42.28, 72.79, 302.19°) |
| OKLab | oklab(51.85% 0.0429 -0.1766) |
| OKLCH | oklch(51.85% 0.182 283.6) |
| XYZ | xyz(18.5425, 12.6824, 57.9592) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.34
Slate Blue
#6A5ACD
ΔE00 3.04
Light Indigo
#6D5ACF
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 4.37
Bluey Purple
#6241C7
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6051CB #BCCB51
analogous
#517FCB #6051CB #9D51CB
triadic
#6051CB #CB6051 #51CB60
tetradic
#6051CB #CB517F #BCCB51 #51CB9D
square
#6051CB #CB517F #BCCB51 #51CB9D
split-complementary
#6051CB #CB9D51 #7FCB51
monochromatic
#30257C #4233AC #6051CB #8B80D9 #B6AFE7
Accessibility & contrast
On white
5.94
#6051CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#6051CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6051CB
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6051CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6051CB | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#346E86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6051cb; /* rgb */ color: rgb(96, 81, 203); /* oklch */ color: oklch(51.9% 0.182 283.6);
Tailwind
colors: {
custom: {
50: '#9682dc',
500: '#6051cb',
950: '#000000',
},
}SCSS
$custom: #6051cb; $custom-light: #9682dc; $custom-dark: #000000;
JSON
{
"hex": "#6051cb",
"rgb": {
"r": 96,
"g": 81,
"b": 203
},
"hsl": {
"h": 247.377,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.51853,
"c": 0.1817,
"h": 283.6
},
"luminance": 0.12683
}Semantic roles & 50–950 ramp
primary
#6051CB
secondary
#CFD5A3
accent
#DD4ACB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83