#6354CB#6354CB
#6354CB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.177 H 284.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6354CB |
|---|---|
| RGB | rgb(99, 84, 203) |
| HSL | hsl(248, 53%, 56%) |
| HSV | hsv(248, 59%, 80%) |
| CMYK | cmyk(51.2%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.22, 37.58, -60.07) |
| CIE-LCH | lch(43.22, 70.86, 302.03°) |
| OKLab | oklab(52.6% 0.0436 -0.172) |
| OKLCH | oklch(52.6% 0.177 284.2) |
| XYZ | xyz(19.0922, 13.3041, 58.0503) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.64
Slate Blue
#6A5ACD
ΔE00 2.09
Light Indigo
#6D5ACF
ΔE00 2.46
Dark Periwinkle
#665FD1
ΔE00 3.50
Warm Blue
#4B57DB
ΔE00 4.35
Bluey Purple
#6241C7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6354CB #BCCB54
analogous
#5481CB #6354CB #9F54CB
triadic
#6354CB #CB6354 #54CB63
tetradic
#6354CB #CB5481 #BCCB54 #54CB9F
square
#6354CB #CB5481 #BCCB54 #54CB9F
split-complementary
#6354CB #CB9F54 #81CB54
monochromatic
#31267E #4435AD #6354CB #8E83D9 #B9B2E8
Accessibility & contrast
On white
5.74
#6354CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6354CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6354CB
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6354CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6354CB | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#3B7087
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6354cb; /* rgb */ color: rgb(99, 84, 203); /* oklch */ color: oklch(52.6% 0.177 284.2);
Tailwind
colors: {
custom: {
50: '#9785dc',
500: '#6354cb',
950: '#000000',
},
}SCSS
$custom: #6354cb; $custom-light: #9785dc; $custom-dark: #000000;
JSON
{
"hex": "#6354cb",
"rgb": {
"r": 99,
"g": 84,
"b": 203
},
"hsl": {
"h": 247.563,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.52604,
"c": 0.17741,
"h": 284.2
},
"luminance": 0.13305
}Semantic roles & 50–950 ramp
primary
#6354CB
secondary
#D0D6A5
accent
#DD4BCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83