#626ACC#626ACC
#626ACC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.6% C 0.149 H 277.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #626ACC |
|---|---|
| RGB | rgb(98, 106, 204) |
| HSL | hsl(235, 51%, 59%) |
| HSV | hsv(235, 52%, 80%) |
| CMYK | cmyk(52%, 48%, 0%, 20%) |
| CIE-LAB | lab(48.59, 24.28, -52.00) |
| CIE-LCH | lch(48.59, 57.39, 295.03°) |
| OKLab | oklab(56.62% 0.0182 -0.1481) |
| OKLCH | oklch(56.62% 0.149 277) |
| XYZ | xyz(21.0867, 17.2631, 59.3360) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.05
Cornflower Blue
#5170D7
ΔE00 4.34
Royal Blue
#4169E1
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.85
Light Indigo
#6D5ACF
ΔE00 6.10
Iris
#6258C4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626ACC #CCC462
analogous
#629FCC #626ACC #8F62CC
triadic
#626ACC #CC626A #6ACC62
tetradic
#626ACC #CC629F #CCC462 #62CC8F
square
#626ACC #CC629F #CCC462 #62CC8F
split-complementary
#626ACC #CC8F62 #9FCC62
monochromatic
#2C3388 #3B44B6 #626ACC #9096DB #BEC2EA
Accessibility & contrast
On white
4.72
#626ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#626ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #626ACC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##626ACC | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#347F91
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #626acc; /* rgb */ color: rgb(98, 106, 204); /* oklch */ color: oklch(56.6% 0.149 277.0);
Tailwind
colors: {
custom: {
50: '#9694dc',
500: '#626acc',
950: '#000000',
},
}SCSS
$custom: #626acc; $custom-light: #9694dc; $custom-dark: #000000;
JSON
{
"hex": "#626acc",
"rgb": {
"r": 98,
"g": 106,
"b": 204
},
"hsl": {
"h": 235.472,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.56618,
"c": 0.14922,
"h": 277
},
"luminance": 0.17264
}Semantic roles & 50–950 ramp
primary
#626ACC
secondary
#DAD6B0
accent
#D04DDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83