#6278F2#6278F2
#6278F2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.183 H 272.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6278F2 |
|---|---|
| RGB | rgb(98, 120, 242) |
| HSL | hsl(231, 85%, 67%) |
| HSV | hsv(231, 60%, 95%) |
| CMYK | cmyk(59.5%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(54.49, 27.97, -63.95) |
| CIE-LCH | lch(54.49, 69.80, 293.62°) |
| OKLab | oklab(61.83% 0.0073 -0.1831) |
| OKLCH | oklch(61.83% 0.183 272.3) |
| XYZ | xyz(27.7752, 22.4382, 86.8545) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.48
Lightish Blue
#3D7AFD
ΔE00 4.57
Cornflower Blue
#5170D7
ΔE00 5.19
Soft Blue
#6488EA
ΔE00 5.47
Dodger Blue
#3E82FC
ΔE00 6.35
Clear Blue
#247AFD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6278F2 #F2DC62
analogous
#62C0F2 #6278F2 #9462F2
triadic
#6278F2 #F26278 #78F262
tetradic
#6278F2 #F262C0 #F2DC62 #62F294
square
#6278F2 #F262C0 #F2DC62 #62F294
split-complementary
#6278F2 #F29462 #C0F262
monochromatic
#112DC9 #2947ED #6278F2 #9BA9F7 #D3D9FB
Accessibility & contrast
On white
3.83
#6278F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#6278F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6278F2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6278F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6278F2 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#0D7CEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6278f2; /* rgb */ color: rgb(98, 120, 242); /* oklch */ color: oklch(61.8% 0.183 272.3);
Tailwind
colors: {
custom: {
50: '#9a9ef7',
500: '#6278f2',
950: '#000000',
},
}SCSS
$custom: #6278f2; $custom-light: #9a9ef7; $custom-dark: #000000;
JSON
{
"hex": "#6278f2",
"rgb": {
"r": 98,
"g": 120,
"b": 242
},
"hsl": {
"h": 230.833,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.61827,
"c": 0.18325,
"h": 272.3
},
"luminance": 0.2244
}Semantic roles & 50–950 ramp
primary
#6278F2
secondary
#EFE8C1
accent
#BF04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85