#6276E2#6276E2
#6276E2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.164 H 272.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6276E2 |
|---|---|
| RGB | rgb(98, 118, 226) |
| HSL | hsl(231, 69%, 64%) |
| HSV | hsv(231, 57%, 89%) |
| CMYK | cmyk(56.6%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(53.00, 23.98, -57.41) |
| CIE-LCH | lch(53.00, 62.22, 292.67°) |
| OKLab | oklab(60.38% 0.0077 -0.1639) |
| OKLCH | oklch(60.38% 0.164 272.7) |
| XYZ | xyz(25.2384, 21.0426, 74.6684) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.22
Cornflower Blue
#5170D7
ΔE00 3.58
Lightish Blue
#3D7AFD
ΔE00 5.39
Royal Blue
#4169E1
ΔE00 5.73
Soft Blue
#6488EA
ΔE00 6.16
Clear Blue
#247AFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6276E2 #E2CE62
analogous
#62B6E2 #6276E2 #8E62E2
triadic
#6276E2 #E26276 #76E262
tetradic
#6276E2 #E262B6 #E2CE62 #62E28E
square
#6276E2 #E262B6 #E2CE62 #62E28E
split-complementary
#6276E2 #E28E62 #B6E262
monochromatic
#1F35AA #2E49D8 #6276E2 #96A3EC #C9D0F5
Accessibility & contrast
On white
4.03
#6276E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#6276E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6276E2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6276E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6276E2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#2E79E0
Tritanopia (blue-blind)
#0B8EA1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6276e2; /* rgb */ color: rgb(98, 118, 226); /* oklch */ color: oklch(60.4% 0.164 272.7);
Tailwind
colors: {
custom: {
50: '#989dec',
500: '#6276e2',
950: '#000000',
},
}SCSS
$custom: #6276e2; $custom-light: #989dec; $custom-dark: #000000;
JSON
{
"hex": "#6276e2",
"rgb": {
"r": 98,
"g": 118,
"b": 226
},
"hsl": {
"h": 230.625,
"s": 68.817,
"l": 63.529
},
"oklch": {
"l": 0.60381,
"c": 0.16407,
"h": 272.7
},
"luminance": 0.21045
}Semantic roles & 50–950 ramp
primary
#6276E2
secondary
#E7DFB9
accent
#B315D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84