#6278EB#6278EB
#6278EB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.174 H 272.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6278EB |
|---|---|
| RGB | rgb(98, 120, 235) |
| HSL | hsl(230, 77%, 65%) |
| HSV | hsv(230, 58%, 92%) |
| CMYK | cmyk(58.3%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(54.05, 25.68, -60.75) |
| CIE-LCH | lch(54.05, 65.96, 292.92°) |
| OKLab | oklab(61.36% 0.0066 -0.1737) |
| OKLCH | oklch(61.36% 0.174 272.2) |
| XYZ | xyz(26.7439, 22.0257, 81.4232) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.14
Cornflower Blue
#5170D7
ΔE00 4.55
Lightish Blue
#3D7AFD
ΔE00 4.68
Soft Blue
#6488EA
ΔE00 5.39
Clear Blue
#247AFD
ΔE00 6.35
Dodger Blue
#3E82FC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6278EB #EBD562
analogous
#62BCEB #6278EB #9062EB
triadic
#6278EB #EB6278 #78EB62
tetradic
#6278EB #EB62BC #EBD562 #62EB90
square
#6278EB #EB62BC #EBD562 #62EB90
split-complementary
#6278EB #EB9062 #BCEB62
monochromatic
#1832BB #2C49E4 #6278EB #98A7F2 #CFD5F9
Accessibility & contrast
On white
3.88
#6278EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#6278EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6278EB
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6278EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6278EB | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D87EF
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6278eb; /* rgb */ color: rgb(98, 120, 235); /* oklch */ color: oklch(61.4% 0.174 272.2);
Tailwind
colors: {
custom: {
50: '#999ef2',
500: '#6278eb',
950: '#000000',
},
}SCSS
$custom: #6278eb; $custom-light: #999ef2; $custom-dark: #000000;
JSON
{
"hex": "#6278eb",
"rgb": {
"r": 98,
"g": 120,
"b": 235
},
"hsl": {
"h": 230.365,
"s": 77.401,
"l": 65.294
},
"oklch": {
"l": 0.61359,
"c": 0.17383,
"h": 272.2
},
"luminance": 0.22028
}Semantic roles & 50–950 ramp
primary
#6278EB
secondary
#EBE4BD
accent
#B90CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85