#6456AF#6456AF
#6456AF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.137 H 287.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6456AF |
|---|---|
| RGB | rgb(100, 86, 175) |
| HSL | hsl(249, 36%, 51%) |
| HSV | hsv(249, 51%, 69%) |
| CMYK | cmyk(42.9%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(41.94, 28.17, -45.81) |
| CIE-LCH | lch(41.94, 53.77, 301.59°) |
| OKLab | oklab(51.09% 0.0417 -0.13) |
| OKLCH | oklch(51.09% 0.137 287.8) |
| XYZ | xyz(16.3190, 12.4595, 42.0942) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.55
Slate Blue
#6A5ACD
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.27
Royal Purple
#7851A9
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.99
Ocean Blue
#4F42B5
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6456AF #A1AF56
analogous
#5674AF #6456AF #9056AF
triadic
#6456AF #AF6456 #56AF64
tetradic
#6456AF #AF5674 #A1AF56 #56AF90
square
#6456AF #AF5674 #A1AF56 #56AF90
split-complementary
#6456AF #AF9056 #74AF56
monochromatic
#342D5E #4B4088 #6456AF #8A80C3 #B0A9D6
Accessibility & contrast
On white
6.01
#6456AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#6456AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6456AF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6456AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6456AF | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#4E697A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6456af; /* rgb */ color: rgb(100, 86, 175); /* oklch */ color: oklch(51.1% 0.137 287.8);
Tailwind
colors: {
custom: {
50: '#9486c7',
500: '#6456af',
950: '#000000',
},
}SCSS
$custom: #6456af; $custom-light: #9486c7; $custom-dark: #000000;
JSON
{
"hex": "#6456af",
"rgb": {
"r": 100,
"g": 86,
"b": 175
},
"hsl": {
"h": 249.438,
"s": 35.743,
"l": 51.176
},
"oklch": {
"l": 0.51085,
"c": 0.13652,
"h": 287.8
},
"luminance": 0.1246
}Semantic roles & 50–950 ramp
primary
#6456AF
secondary
#BEC49D
accent
#CC5CBA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82