#6078F1#6078F1
#6078F1 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.182 H 271.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6078F1 |
|---|---|
| RGB | rgb(96, 120, 241) |
| HSL | hsl(230, 84%, 66%) |
| HSV | hsv(230, 60%, 95%) |
| CMYK | cmyk(60.2%, 50.2%, 0%, 5.5%) |
| CIE-LAB | lab(54.31, 27.29, -63.69) |
| CIE-LCH | lch(54.31, 69.29, 293.19°) |
| OKLab | oklab(61.64% 0.0052 -0.1824) |
| OKLCH | oklch(61.64% 0.182 271.6) |
| XYZ | xyz(27.4122, 22.2684, 86.0557) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.84
Lightish Blue
#3D7AFD
ΔE00 4.27
Cornflower Blue
#5170D7
ΔE00 4.93
Soft Blue
#6488EA
ΔE00 5.36
Clear Blue
#247AFD
ΔE00 6.03
Dodger Blue
#3E82FC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6078F1 #F1D960
analogous
#60C0F1 #6078F1 #9060F1
triadic
#6078F1 #F16078 #78F160
tetradic
#6078F1 #F160C0 #F1D960 #60F190
square
#6078F1 #F160C0 #F1D960 #60F190
split-complementary
#6078F1 #F19060 #C0F160
monochromatic
#112FC5 #2848EC #6078F1 #98A8F6 #D0D8FB
Accessibility & contrast
On white
3.85
#6078F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#6078F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6078F1
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6078F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6078F1 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#0D7CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6078f1; /* rgb */ color: rgb(96, 120, 241); /* oklch */ color: oklch(61.6% 0.182 271.6);
Tailwind
colors: {
custom: {
50: '#999ef6',
500: '#6078f1',
950: '#000000',
},
}SCSS
$custom: #6078f1; $custom-light: #999ef6; $custom-dark: #000000;
JSON
{
"hex": "#6078f1",
"rgb": {
"r": 96,
"g": 120,
"b": 241
},
"hsl": {
"h": 230.069,
"s": 83.815,
"l": 66.078
},
"oklch": {
"l": 0.61642,
"c": 0.18245,
"h": 271.6
},
"luminance": 0.22271
}Semantic roles & 50–950 ramp
primary
#6078F1
secondary
#EEE6BF
accent
#BC05E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85