#626EC8#626EC8
#626EC8 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.138 H 275.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #626EC8 |
|---|---|
| RGB | rgb(98, 110, 200) |
| HSL | hsl(233, 48%, 58%) |
| HSV | hsv(233, 51%, 78%) |
| CMYK | cmyk(51%, 45%, 0%, 21.6%) |
| CIE-LAB | lab(49.40, 20.56, -48.42) |
| CIE-LCH | lch(49.40, 52.61, 293.01°) |
| OKLab | oklab(57.15% 0.0131 -0.1376) |
| OKLCH | oklch(57.15% 0.138 275.4) |
| XYZ | xyz(21.0350, 17.9174, 56.9824) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.78
Royal Blue
#4169E1
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 5.60
French Blue
#436BAD
ΔE00 7.24
Slate Blue
#6A5ACD
ΔE00 7.35
Cornflower
#6A79F7
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626EC8 #C8BC62
analogous
#62A1C8 #626EC8 #8962C8
triadic
#626EC8 #C8626E #6EC862
tetradic
#626EC8 #C862A1 #C8BC62 #62C889
square
#626EC8 #C862A1 #C8BC62 #62C889
split-complementary
#626EC8 #C88962 #A1C862
monochromatic
#2E3782 #3D4BAF #626EC8 #8F98D8 #BDC2E8
Accessibility & contrast
On white
4.58
#626EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#626EC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #626EC8
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626EC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##626EC8 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#378191
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #626ec8; /* rgb */ color: rgb(98, 110, 200); /* oklch */ color: oklch(57.2% 0.138 275.4);
Tailwind
colors: {
custom: {
50: '#9597d9',
500: '#626ec8',
950: '#000000',
},
}SCSS
$custom: #626ec8; $custom-light: #9597d9; $custom-dark: #000000;
JSON
{
"hex": "#626ec8",
"rgb": {
"r": 98,
"g": 110,
"b": 200
},
"hsl": {
"h": 232.941,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.57154,
"c": 0.13819,
"h": 275.4
},
"luminance": 0.17919
}Semantic roles & 50–950 ramp
primary
#626EC8
secondary
#D7D2AF
accent
#C850D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D15
muted
#7E7E83