#6178F2#6178F2
#6178F2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.184 H 272.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #6178F2 |
|---|---|
| RGB | rgb(97, 120, 242) |
| HSL | hsl(230, 85%, 66%) |
| HSV | hsv(230, 60%, 95%) |
| CMYK | cmyk(59.9%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(54.43, 27.79, -64.05) |
| CIE-LCH | lch(54.43, 69.82, 293.46°) |
| OKLab | oklab(61.77% 0.0063 -0.1834) |
| OKLCH | oklch(61.77% 0.184 272) |
| XYZ | xyz(27.6679, 22.3829, 86.8495) |
| Luminance | 0.2238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.62
Lightish Blue
#3D7AFD
ΔE00 4.42
Cornflower Blue
#5170D7
ΔE00 5.10
Soft Blue
#6488EA
ΔE00 5.42
Clear Blue
#247AFD
ΔE00 6.19
Dodger Blue
#3E82FC
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6178F2 #F2DB61
analogous
#61C1F2 #6178F2 #9361F2
triadic
#6178F2 #F26178 #78F261
tetradic
#6178F2 #F261C1 #F2DB61 #61F293
square
#6178F2 #F261C1 #F2DB61 #61F293
split-complementary
#6178F2 #F29361 #C1F261
monochromatic
#102EC8 #2848ED #6178F2 #9AA8F7 #D2D9FB
Accessibility & contrast
On white
3.83
#6178F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#6178F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6178F2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6178F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6178F2 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#0A7CEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6178f2; /* rgb */ color: rgb(97, 120, 242); /* oklch */ color: oklch(61.8% 0.184 272.0);
Tailwind
colors: {
custom: {
50: '#9a9ef7',
500: '#6178f2',
950: '#000000',
},
}SCSS
$custom: #6178f2; $custom-light: #9a9ef7; $custom-dark: #000000;
JSON
{
"hex": "#6178f2",
"rgb": {
"r": 97,
"g": 120,
"b": 242
},
"hsl": {
"h": 230.483,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.61768,
"c": 0.18353,
"h": 272
},
"luminance": 0.22385
}Semantic roles & 50–950 ramp
primary
#6178F2
secondary
#EFE7C0
accent
#BE04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85