#6277E4#6277E4
#6277E4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.166 H 272.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6277E4 |
|---|---|
| RGB | rgb(98, 119, 228) |
| HSL | hsl(230, 71%, 64%) |
| HSV | hsv(230, 57%, 89%) |
| CMYK | cmyk(57%, 47.8%, 0%, 10.6%) |
| CIE-LAB | lab(53.37, 24.02, -57.93) |
| CIE-LCH | lch(53.37, 62.71, 292.52°) |
| OKLab | oklab(60.71% 0.0069 -0.1654) |
| OKLCH | oklch(60.71% 0.166 272.4) |
| XYZ | xyz(25.6328, 21.3898, 76.1616) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.93
Cornflower Blue
#5170D7
ΔE00 3.85
Lightish Blue
#3D7AFD
ΔE00 5.11
Soft Blue
#6488EA
ΔE00 5.78
Royal Blue
#4169E1
ΔE00 5.98
Clear Blue
#247AFD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6277E4 #E4CF62
analogous
#62B8E4 #6277E4 #8E62E4
triadic
#6277E4 #E46277 #77E462
tetradic
#6277E4 #E462B8 #E4CF62 #62E48E
square
#6277E4 #E462B8 #E4CF62 #62E48E
split-complementary
#6277E4 #E48E62 #B8E462
monochromatic
#1E35AE #2E4ADB #6277E4 #96A4ED #CAD1F6
Accessibility & contrast
On white
3.98
#6277E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#6277E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6277E4
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6277E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6277E4 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4285E8
Deuteranopia (green-blind)
#2D7AE2
Tritanopia (blue-blind)
#028FA3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6277e4; /* rgb */ color: rgb(98, 119, 228); /* oklch */ color: oklch(60.7% 0.166 272.4);
Tailwind
colors: {
custom: {
50: '#989ded',
500: '#6277e4',
950: '#000000',
},
}SCSS
$custom: #6277e4; $custom-light: #989ded; $custom-dark: #000000;
JSON
{
"hex": "#6277e4",
"rgb": {
"r": 98,
"g": 119,
"b": 228
},
"hsl": {
"h": 230.308,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.60706,
"c": 0.16554,
"h": 272.4
},
"luminance": 0.21392
}Semantic roles & 50–950 ramp
primary
#6277E4
secondary
#E8E0BA
accent
#B413D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84