#6278CC#6278CC
#6278CC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.131 H 270.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6278CC |
|---|---|
| RGB | rgb(98, 120, 204) |
| HSL | hsl(228, 51%, 59%) |
| HSV | hsv(228, 52%, 80%) |
| CMYK | cmyk(52%, 41.2%, 0%, 20%) |
| CIE-LAB | lab(52.27, 15.71, -46.13) |
| CIE-LCH | lch(52.27, 48.73, 288.80°) |
| OKLab | oklab(59.43% 0.0021 -0.1308) |
| OKLCH | oklch(59.43% 0.131 270.9) |
| XYZ | xyz(22.6490, 20.3877, 59.8568) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.66
Cornflower
#6A79F7
ΔE00 5.92
Royal Blue
#4169E1
ΔE00 6.44
Soft Blue
#6488EA
ΔE00 6.56
Lightish Blue
#3D7AFD
ΔE00 6.80
Faded Blue
#658CBB
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6278CC #CCB662
analogous
#62ADCC #6278CC #8162CC
triadic
#6278CC #CC6278 #78CC62
tetradic
#6278CC #CC62AD #CCB662 #62CC81
square
#6278CC #CC62AD #CCB662 #62CC81
split-complementary
#6278CC #CC8162 #ADCC62
monochromatic
#2C3F88 #3B55B6 #6278CC #90A0DB #BEC7EA
Accessibility & contrast
On white
4.14
#6278CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#6278CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6278CC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6278CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6278CC | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#318A98
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #6278cc; /* rgb */ color: rgb(98, 120, 204); /* oklch */ color: oklch(59.4% 0.131 270.9);
Tailwind
colors: {
custom: {
50: '#959edc',
500: '#6278cc',
950: '#000000',
},
}SCSS
$custom: #6278cc; $custom-light: #959edc; $custom-dark: #000000;
JSON
{
"hex": "#6278cc",
"rgb": {
"r": 98,
"g": 120,
"b": 204
},
"hsl": {
"h": 227.547,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.59425,
"c": 0.13078,
"h": 270.9
},
"luminance": 0.20389
}Semantic roles & 50–950 ramp
primary
#6278CC
secondary
#DAD1B0
accent
#BD4DDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83