#6452C8#6452C8
#6452C8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.176 H 285.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6452C8 |
|---|---|
| RGB | rgb(100, 82, 200) |
| HSL | hsl(249, 52%, 55%) |
| HSV | hsv(249, 59%, 78%) |
| CMYK | cmyk(50%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(42.63, 38.06, -59.28) |
| CIE-LCH | lch(42.63, 70.45, 302.70°) |
| OKLab | oklab(52.13% 0.0471 -0.1696) |
| OKLCH | oklch(52.13% 0.176 285.5) |
| XYZ | xyz(18.6951, 12.9131, 56.1398) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.02
Slate Blue
#6A5ACD
ΔE00 2.61
Light Indigo
#6D5ACF
ΔE00 2.91
Dark Periwinkle
#665FD1
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 4.56
Warm Blue
#4B57DB
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6452C8 #B6C852
analogous
#527BC8 #6452C8 #9F52C8
triadic
#6452C8 #C86452 #52C864
tetradic
#6452C8 #C8527B #B6C852 #52C89F
square
#6452C8 #C8527B #B6C852 #52C89F
split-complementary
#6452C8 #C89F52 #7BC852
monochromatic
#332779 #4735A8 #6452C8 #8E80D7 #B7AFE6
Accessibility & contrast
On white
5.86
#6452C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6452C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6452C8
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6452C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6452C8 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#3F6D85
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6452c8; /* rgb */ color: rgb(100, 82, 200); /* oklch */ color: oklch(52.1% 0.176 285.5);
Tailwind
colors: {
custom: {
50: '#9883d9',
500: '#6452c8',
950: '#000000',
},
}SCSS
$custom: #6452c8; $custom-light: #9883d9; $custom-dark: #000000;
JSON
{
"hex": "#6452c8",
"rgb": {
"r": 100,
"g": 82,
"b": 200
},
"hsl": {
"h": 249.153,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.52126,
"c": 0.17604,
"h": 285.5
},
"luminance": 0.12914
}Semantic roles & 50–950 ramp
primary
#6452C8
secondary
#CCD4A2
accent
#DB4DC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83