#6277EE#6277EE
#6277EE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.179 H 272.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6277EE |
|---|---|
| RGB | rgb(98, 119, 238) |
| HSL | hsl(231, 80%, 66%) |
| HSV | hsv(231, 59%, 93%) |
| CMYK | cmyk(58.8%, 50%, 0%, 6.7%) |
| CIE-LAB | lab(53.99, 27.27, -62.54) |
| CIE-LCH | lch(53.99, 68.22, 293.56°) |
| OKLab | oklab(61.37% 0.0079 -0.1789) |
| OKLCH | oklch(61.37% 0.179 272.5) |
| XYZ | xyz(27.0613, 21.9612, 83.6852) |
| Luminance | 0.2196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.85
Cornflower Blue
#5170D7
ΔE00 4.69
Lightish Blue
#3D7AFD
ΔE00 4.77
Soft Blue
#6488EA
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 6.39
Clear Blue
#247AFD
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6277EE #EED962
analogous
#62BDEE #6277EE #9362EE
triadic
#6277EE #EE6277 #77EE62
tetradic
#6277EE #EE62BD #EED962 #62EE93
square
#6277EE #EE62BD #EED962 #62EE93
split-complementary
#6277EE #EE9362 #BDEE62
monochromatic
#152FC1 #2B47E8 #6277EE #99A7F4 #D0D7FA
Accessibility & contrast
On white
3.89
#6277EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#6277EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6277EE
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6277EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6277EE | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#177BEC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6277ee; /* rgb */ color: rgb(98, 119, 238); /* oklch */ color: oklch(61.4% 0.179 272.5);
Tailwind
colors: {
custom: {
50: '#9a9ef4',
500: '#6277ee',
950: '#000000',
},
}SCSS
$custom: #6277ee; $custom-light: #9a9ef4; $custom-dark: #000000;
JSON
{
"hex": "#6277ee",
"rgb": {
"r": 98,
"g": 119,
"b": 238
},
"hsl": {
"h": 231,
"s": 80.46,
"l": 65.882
},
"oklch": {
"l": 0.61367,
"c": 0.17912,
"h": 272.5
},
"luminance": 0.21963
}Semantic roles & 50–950 ramp
primary
#6277EE
secondary
#EDE6BF
accent
#BD09DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85