#6262BB#6262BB
#6262BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.136 H 280.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6262BB |
|---|---|
| RGB | rgb(98, 98, 187) |
| HSL | hsl(240, 40%, 56%) |
| HSV | hsv(240, 48%, 73%) |
| CMYK | cmyk(47.6%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(45.52, 23.91, -47.10) |
| CIE-LCH | lch(45.52, 52.82, 296.91°) |
| OKLab | oklab(53.97% 0.0256 -0.1338) |
| OKLCH | oklch(53.97% 0.136 280.8) |
| XYZ | xyz(18.3716, 14.9190, 48.9157) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.67
Iris
#6258C4
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 6.40
Cornflower Blue
#5170D7
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262BB #BBBB62
analogous
#628EBB #6262BB #8E62BB
triadic
#6262BB #BB6262 #62BB62
tetradic
#6262BB #BB628E #BBBB62 #62BB8E
square
#6262BB #BB628E #BBBB62 #62BB8E
split-complementary
#6262BB #BB8E62 #8EBB62
monochromatic
#313171 #44449C #6262BB #8D8DCD #B7B7E0
Accessibility & contrast
On white
5.27
#6262BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6262BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262BB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262BB | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#427585
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6262bb; /* rgb */ color: rgb(98, 98, 187); /* oklch */ color: oklch(54.0% 0.136 280.8);
Tailwind
colors: {
custom: {
50: '#948ed0',
500: '#6262bb',
950: '#000000',
},
}SCSS
$custom: #6262bb; $custom-light: #948ed0; $custom-dark: #000000;
JSON
{
"hex": "#6262bb",
"rgb": {
"r": 98,
"g": 98,
"b": 187
},
"hsl": {
"h": 240,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.53973,
"c": 0.13621,
"h": 280.8
},
"luminance": 0.1492
}Semantic roles & 50–950 ramp
primary
#6262BB
secondary
#CFCFAA
accent
#CF58CF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82