#6262E8#6262E8
#6262E8 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.198 H 278.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6262E8 |
|---|---|
| RGB | rgb(98, 98, 232) |
| HSL | hsl(240, 74%, 65%) |
| HSV | hsv(240, 58%, 91%) |
| CMYK | cmyk(57.8%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(48.46, 38.05, -68.11) |
| CIE-LCH | lch(48.46, 78.02, 299.19°) |
| OKLab | oklab(57.1% 0.0279 -0.1955) |
| OKLCH | oklch(57.1% 0.198 278.1) |
| XYZ | xyz(23.9655, 17.1565, 78.3769) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.42
Mediumslateblue
#7B68EE
ΔE00 4.55
Light Indigo
#6D5ACF
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 4.97
Royal Blue
#4169E1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262E8 #E8E862
analogous
#62A5E8 #6262E8 #A562E8
triadic
#6262E8 #E86262 #62E862
tetradic
#6262E8 #E862A5 #E8E862 #62E8A5
square
#6262E8 #E862A5 #E8E862 #62E8A5
split-complementary
#6262E8 #E8A562 #A5E862
monochromatic
#1B1BB5 #2D2DE0 #6262E8 #9797F0 #CDCDF8
Accessibility & contrast
On white
4.74
#6262E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#6262E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262E8
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262E8 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6262e8; /* rgb */ color: rgb(98, 98, 232); /* oklch */ color: oklch(57.1% 0.198 278.1);
Tailwind
colors: {
custom: {
50: '#9a8ff0',
500: '#6262e8',
950: '#000000',
},
}SCSS
$custom: #6262e8; $custom-light: #9a8ff0; $custom-dark: #000000;
JSON
{
"hex": "#6262e8",
"rgb": {
"r": 98,
"g": 98,
"b": 232
},
"hsl": {
"h": 240,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.57103,
"c": 0.19753,
"h": 278.1
},
"luminance": 0.17158
}Semantic roles & 50–950 ramp
primary
#6262E8
secondary
#EAEABC
accent
#D70FD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85