#6279E2#6279E2
#6279E2 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.160 H 271.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6279E2 |
|---|---|
| RGB | rgb(98, 121, 226) |
| HSL | hsl(229, 69%, 64%) |
| HSV | hsv(229, 57%, 89%) |
| CMYK | cmyk(56.6%, 46.5%, 0%, 11.4%) |
| CIE-LAB | lab(53.77, 22.15, -56.17) |
| CIE-LCH | lch(53.77, 60.38, 291.52°) |
| OKLab | oklab(60.97% 0.0045 -0.1602) |
| OKLCH | oklch(60.97% 0.16 271.6) |
| XYZ | xyz(25.5973, 21.7605, 74.7881) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.19
Cornflower Blue
#5170D7
ΔE00 4.06
Lightish Blue
#3D7AFD
ΔE00 4.91
Soft Blue
#6488EA
ΔE00 5.14
Royal Blue
#4169E1
ΔE00 6.37
Clear Blue
#247AFD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6279E2 #E2CB62
analogous
#62B9E2 #6279E2 #8B62E2
triadic
#6279E2 #E26279 #79E262
tetradic
#6279E2 #E262B9 #E2CB62 #62E28B
square
#6279E2 #E262B9 #E2CB62 #62E28B
split-complementary
#6279E2 #E28B62 #B9E262
monochromatic
#1F38AA #2E4DD8 #6279E2 #96A5EC #C9D1F5
Accessibility & contrast
On white
3.92
#6279E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#6279E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6279E2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6279E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6279E2 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0990A3
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6279e2; /* rgb */ color: rgb(98, 121, 226); /* oklch */ color: oklch(61.0% 0.160 271.6);
Tailwind
colors: {
custom: {
50: '#989fec',
500: '#6279e2',
950: '#000000',
},
}SCSS
$custom: #6279e2; $custom-light: #989fec; $custom-dark: #000000;
JSON
{
"hex": "#6279e2",
"rgb": {
"r": 98,
"g": 121,
"b": 226
},
"hsl": {
"h": 229.219,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.60971,
"c": 0.16027,
"h": 271.6
},
"luminance": 0.21762
}Semantic roles & 50–950 ramp
primary
#6279E2
secondary
#E7DEB9
accent
#AF15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84