#6262B8#6262B8
#6262B8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.132 H 281.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6262B8 |
|---|---|
| RGB | rgb(98, 98, 184) |
| HSL | hsl(240, 38%, 55%) |
| HSV | hsv(240, 47%, 72%) |
| CMYK | cmyk(46.7%, 46.7%, 0%, 27.8%) |
| CIE-LAB | lab(45.35, 22.99, -45.64) |
| CIE-LCH | lch(45.35, 51.10, 296.73°) |
| OKLab | oklab(53.78% 0.0252 -0.1295) |
| OKLCH | oklch(53.78% 0.132 281) |
| XYZ | xyz(18.0538, 14.7918, 47.2419) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.97
Dark Periwinkle
#665FD1
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.14
Warm Blue
#4B57DB
ΔE00 6.79
Dusky Blue
#475F94
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262B8 #B8B862
analogous
#628DB8 #6262B8 #8D62B8
triadic
#6262B8 #B86262 #62B862
tetradic
#6262B8 #B8628D #B8B862 #62B88D
square
#6262B8 #B8628D #B8B862 #62B88D
split-complementary
#6262B8 #B88D62 #8DB862
monochromatic
#32326E #454598 #6262B8 #8C8CCB #B6B6DE
Accessibility & contrast
On white
5.30
#6262B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#6262B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262B8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262B8 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#447484
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6262b8; /* rgb */ color: rgb(98, 98, 184); /* oklch */ color: oklch(53.8% 0.132 281.0);
Tailwind
colors: {
custom: {
50: '#948ece',
500: '#6262b8',
950: '#000000',
},
}SCSS
$custom: #6262b8; $custom-light: #948ece; $custom-dark: #000000;
JSON
{
"hex": "#6262b8",
"rgb": {
"r": 98,
"g": 98,
"b": 184
},
"hsl": {
"h": 240,
"s": 37.719,
"l": 55.294
},
"oklch": {
"l": 0.53784,
"c": 0.13192,
"h": 281
},
"luminance": 0.14793
}Semantic roles & 50–950 ramp
primary
#6262B8
secondary
#CDCDA9
accent
#CE5ACE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C13
muted
#7E7D82