#6277F2#6277F2
#6277F2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.184 H 272.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #6277F2 |
|---|---|
| RGB | rgb(98, 119, 242) |
| HSL | hsl(231, 85%, 67%) |
| HSV | hsv(231, 60%, 95%) |
| CMYK | cmyk(59.5%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(54.24, 28.58, -64.36) |
| CIE-LCH | lch(54.24, 70.42, 293.94°) |
| OKLab | oklab(61.64% 0.0082 -0.1843) |
| OKLCH | oklch(61.64% 0.185 272.6) |
| XYZ | xyz(27.6555, 22.1989, 86.8146) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.51
Lightish Blue
#3D7AFD
ΔE00 4.73
Cornflower Blue
#5170D7
ΔE00 5.08
Soft Blue
#6488EA
ΔE00 5.80
Clear Blue
#247AFD
ΔE00 6.50
Dodger Blue
#3E82FC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6277F2 #F2DD62
analogous
#62BFF2 #6277F2 #9562F2
triadic
#6277F2 #F26277 #77F262
tetradic
#6277F2 #F262BF #F2DD62 #62F295
square
#6277F2 #F262BF #F2DD62 #62F295
split-complementary
#6277F2 #F29562 #BFF262
monochromatic
#112CC9 #2946ED #6277F2 #9BA8F7 #D3D9FB
Accessibility & contrast
On white
3.86
#6277F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#6277F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6277F2
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6277F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6277F2 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#047CEF
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6277f2; /* rgb */ color: rgb(98, 119, 242); /* oklch */ color: oklch(61.6% 0.184 272.6);
Tailwind
colors: {
custom: {
50: '#9b9ef7',
500: '#6277f2',
950: '#000000',
},
}SCSS
$custom: #6277f2; $custom-light: #9b9ef7; $custom-dark: #000000;
JSON
{
"hex": "#6277f2",
"rgb": {
"r": 98,
"g": 119,
"b": 242
},
"hsl": {
"h": 231.25,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.61637,
"c": 0.1845,
"h": 272.6
},
"luminance": 0.22201
}Semantic roles & 50–950 ramp
primary
#6277F2
secondary
#EFE8C1
accent
#C104E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85