#6262C8#6262C8
#6262C8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.155 H 280.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6262C8 |
|---|---|
| RGB | rgb(98, 98, 200) |
| HSL | hsl(240, 48%, 58%) |
| HSV | hsv(240, 51%, 78%) |
| CMYK | cmyk(51%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(46.31, 27.94, -53.36) |
| CIE-LCH | lch(46.31, 60.23, 297.64°) |
| OKLab | oklab(54.82% 0.0269 -0.1521) |
| OKLCH | oklch(54.82% 0.155 280) |
| XYZ | xyz(19.8268, 15.5010, 56.5796) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.91
Slate Blue
#6A5ACD
ΔE00 3.33
Iris
#6258C4
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 5.05
Royal Blue
#4169E1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262C8 #C8C862
analogous
#6295C8 #6262C8 #9562C8
triadic
#6262C8 #C86262 #62C862
tetradic
#6262C8 #C86295 #C8C862 #62C895
square
#6262C8 #C86295 #C8C862 #62C895
split-complementary
#6262C8 #C89562 #95C862
monochromatic
#2E2E82 #3D3DAF #6262C8 #8F8FD8 #BDBDE8
Accessibility & contrast
On white
5.12
#6262C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6262C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262C8
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262C8 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#39788C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6262c8; /* rgb */ color: rgb(98, 98, 200); /* oklch */ color: oklch(54.8% 0.155 280.0);
Tailwind
colors: {
custom: {
50: '#968ed9',
500: '#6262c8',
950: '#000000',
},
}SCSS
$custom: #6262c8; $custom-light: #968ed9; $custom-dark: #000000;
JSON
{
"hex": "#6262c8",
"rgb": {
"r": 98,
"g": 98,
"b": 200
},
"hsl": {
"h": 240,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.54823,
"c": 0.15451,
"h": 280
},
"luminance": 0.15502
}Semantic roles & 50–950 ramp
primary
#6262C8
secondary
#D7D7AF
accent
#D850D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83