#6262BF#6262BF
#6262BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.142 H 280.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6262BF |
|---|---|
| RGB | rgb(98, 98, 191) |
| HSL | hsl(240, 42%, 57%) |
| HSV | hsv(240, 49%, 75%) |
| CMYK | cmyk(48.7%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(45.76, 25.14, -49.04) |
| CIE-LCH | lch(45.76, 55.11, 297.14°) |
| OKLab | oklab(54.23% 0.026 -0.1395) |
| OKLCH | oklch(54.23% 0.142 280.6) |
| XYZ | xyz(18.8058, 15.0926, 51.2024) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.08
Iris
#6258C4
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 4.39
Warm Blue
#4B57DB
ΔE00 5.92
Cornflower Blue
#5170D7
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6262BF #BFBF62
analogous
#6291BF #6262BF #9162BF
triadic
#6262BF #BF6262 #62BF62
tetradic
#6262BF #BF6291 #BFBF62 #62BF91
square
#6262BF #BF6291 #BFBF62 #62BF91
split-complementary
#6262BF #BF9162 #91BF62
monochromatic
#303076 #4242A2 #6262BF #8D8DD1 #B9B9E2
Accessibility & contrast
On white
5.23
#6262BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6262BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6262BF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6262BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6262BF | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#407687
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6262bf; /* rgb */ color: rgb(98, 98, 191); /* oklch */ color: oklch(54.2% 0.142 280.6);
Tailwind
colors: {
custom: {
50: '#948ed3',
500: '#6262bf',
950: '#000000',
},
}SCSS
$custom: #6262bf; $custom-light: #948ed3; $custom-dark: #000000;
JSON
{
"hex": "#6262bf",
"rgb": {
"r": 98,
"g": 98,
"b": 191
},
"hsl": {
"h": 240,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.5423,
"c": 0.14189,
"h": 280.6
},
"luminance": 0.15094
}Semantic roles & 50–950 ramp
primary
#6262BF
secondary
#D1D1AB
accent
#D256D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83