#6278F0#6278F0
#6278F0 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.181 H 272.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6278F0 |
|---|---|
| RGB | rgb(98, 120, 240) |
| HSL | hsl(231, 83%, 66%) |
| HSV | hsv(231, 59%, 94%) |
| CMYK | cmyk(59.2%, 50%, 0%, 5.9%) |
| CIE-LAB | lab(54.36, 27.31, -63.04) |
| CIE-LCH | lch(54.36, 68.70, 293.43°) |
| OKLab | oklab(61.69% 0.0071 -0.1804) |
| OKLCH | oklch(61.69% 0.181 272.2) |
| XYZ | xyz(27.4764, 22.3187, 85.2812) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.65
Lightish Blue
#3D7AFD
ΔE00 4.58
Cornflower Blue
#5170D7
ΔE00 5.00
Soft Blue
#6488EA
ΔE00 5.43
Clear Blue
#247AFD
ΔE00 6.33
Dodger Blue
#3E82FC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6278F0 #F0DA62
analogous
#62BFF0 #6278F0 #9362F0
triadic
#6278F0 #F06278 #78F062
tetradic
#6278F0 #F062BF #F0DA62 #62F093
square
#6278F0 #F062BF #F0DA62 #62F093
split-complementary
#6278F0 #F09362 #BFF062
monochromatic
#132EC5 #2A48EB #6278F0 #9AA8F5 #D2D8FB
Accessibility & contrast
On white
3.84
#6278F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#6278F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6278F0
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6278F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6278F0 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3788F4
Deuteranopia (green-blind)
#167CED
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6278f0; /* rgb */ color: rgb(98, 120, 240); /* oklch */ color: oklch(61.7% 0.181 272.2);
Tailwind
colors: {
custom: {
50: '#9a9ef6',
500: '#6278f0',
950: '#000000',
},
}SCSS
$custom: #6278f0; $custom-light: #9a9ef6; $custom-dark: #000000;
JSON
{
"hex": "#6278f0",
"rgb": {
"r": 98,
"g": 120,
"b": 240
},
"hsl": {
"h": 230.704,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.61692,
"c": 0.18057,
"h": 272.2
},
"luminance": 0.22321
}Semantic roles & 50–950 ramp
primary
#6278F0
secondary
#EEE7C0
accent
#BD07DF
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85