#6278EA#6278EA
#6278EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.172 H 272.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6278EA |
|---|---|
| RGB | rgb(98, 120, 234) |
| HSL | hsl(230, 76%, 65%) |
| HSV | hsv(230, 58%, 92%) |
| CMYK | cmyk(58.1%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.99, 25.36, -60.29) |
| CIE-LCH | lch(53.99, 65.41, 292.81°) |
| OKLab | oklab(61.29% 0.0065 -0.1723) |
| OKLCH | oklch(61.29% 0.172 272.2) |
| XYZ | xyz(26.5999, 21.9681, 80.6645) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.24
Cornflower Blue
#5170D7
ΔE00 4.46
Lightish Blue
#3D7AFD
ΔE00 4.71
Soft Blue
#6488EA
ΔE00 5.39
Clear Blue
#247AFD
ΔE00 6.36
Royal Blue
#4169E1
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6278EA #EAD462
analogous
#62BCEA #6278EA #9062EA
triadic
#6278EA #EA6278 #78EA62
tetradic
#6278EA #EA62BC #EAD462 #62EA90
square
#6278EA #EA62BC #EAD462 #62EA90
split-complementary
#6278EA #EA9062 #BCEA62
monochromatic
#1933B9 #2C4AE3 #6278EA #98A6F1 #CED5F8
Accessibility & contrast
On white
3.89
#6278EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#6278EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6278EA
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6278EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6278EA | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#267BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6278ea; /* rgb */ color: rgb(98, 120, 234); /* oklch */ color: oklch(61.3% 0.172 272.2);
Tailwind
colors: {
custom: {
50: '#999ef1',
500: '#6278ea',
950: '#000000',
},
}SCSS
$custom: #6278ea; $custom-light: #999ef1; $custom-dark: #000000;
JSON
{
"hex": "#6278ea",
"rgb": {
"r": 98,
"g": 120,
"b": 234
},
"hsl": {
"h": 230.294,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.61293,
"c": 0.17246,
"h": 272.2
},
"luminance": 0.2197
}Semantic roles & 50–950 ramp
primary
#6278EA
secondary
#EBE3BD
accent
#B80DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85