#6276E4#6276E4
#6276E4 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.167 H 272.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6276E4 |
|---|---|
| RGB | rgb(98, 118, 228) |
| HSL | hsl(231, 71%, 64%) |
| HSV | hsv(231, 57%, 89%) |
| CMYK | cmyk(57%, 48.2%, 0%, 10.6%) |
| CIE-LAB | lab(53.12, 24.63, -58.34) |
| CIE-LCH | lch(53.12, 63.32, 292.88°) |
| OKLab | oklab(60.51% 0.0079 -0.1666) |
| OKLCH | oklch(60.51% 0.167 272.7) |
| XYZ | xyz(25.5144, 21.1531, 76.1222) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.98
Cornflower Blue
#5170D7
ΔE00 3.72
Lightish Blue
#3D7AFD
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 5.78
Soft Blue
#6488EA
ΔE00 6.13
Clear Blue
#247AFD
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6276E4 #E4D062
analogous
#62B7E4 #6276E4 #8F62E4
triadic
#6276E4 #E46276 #76E462
tetradic
#6276E4 #E462B7 #E4D062 #62E48F
square
#6276E4 #E462B7 #E4D062 #62E48F
split-complementary
#6276E4 #E48F62 #B7E462
monochromatic
#1E34AE #2E48DB #6276E4 #96A4ED #CAD1F6
Accessibility & contrast
On white
4.01
#6276E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#6276E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6276E4
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6276E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6276E4 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#2B79E2
Tritanopia (blue-blind)
#028FA2
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6276e4; /* rgb */ color: rgb(98, 118, 228); /* oklch */ color: oklch(60.5% 0.167 272.7);
Tailwind
colors: {
custom: {
50: '#989ded',
500: '#6276e4',
950: '#000000',
},
}SCSS
$custom: #6276e4; $custom-light: #989ded; $custom-dark: #000000;
JSON
{
"hex": "#6276e4",
"rgb": {
"r": 98,
"g": 118,
"b": 228
},
"hsl": {
"h": 230.769,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.60512,
"c": 0.16682,
"h": 272.7
},
"luminance": 0.21155
}Semantic roles & 50–950 ramp
primary
#6276E4
secondary
#E8E1BA
accent
#B513D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84