#262EA7#262EA7
#262EA7 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.189 H 270.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #262EA7 |
|---|---|
| RGB | rgb(38, 46, 167) |
| HSL | hsl(236, 63%, 40%) |
| HSV | hsv(236, 77%, 65%) |
| CMYK | cmyk(77.2%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(27.17, 39.67, -65.24) |
| CIE-LCH | lch(27.17, 76.35, 301.30°) |
| OKLab | oklab(38.87% 0.0029 -0.1889) |
| OKLCH | oklch(38.87% 0.189 270.9) |
| XYZ | xyz(8.7490, 5.1551, 37.0857) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Indigo Blue
#3A18B1
ΔE00 5.26
Royal
#0C1793
ΔE00 6.03
True Blue
#010FCC
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.77
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262EA7 #A79F26
analogous
#266EA7 #262EA7 #5E26A7
triadic
#262EA7 #A7262E #2EA726
tetradic
#262EA7 #A7266E #A79F26 #26A75E
square
#262EA7 #A7266E #A79F26 #26A75E
split-complementary
#262EA7 #A75E26 #6EA726
monochromatic
#0F1343 #1B2075 #262EA7 #3842D2 #6A71DD
Accessibility & contrast
On white
10.34
#262EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#262EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262EA7
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262EA7 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #262ea7; /* rgb */ color: rgb(38, 46, 167); /* oklch */ color: oklch(38.9% 0.189 270.9);
Tailwind
colors: {
custom: {
50: '#7768c2',
500: '#262ea7',
950: '#000000',
},
}SCSS
$custom: #262ea7; $custom-light: #7768c2; $custom-dark: #000000;
JSON
{
"hex": "#262ea7",
"rgb": {
"r": 38,
"g": 46,
"b": 167
},
"hsl": {
"h": 236.279,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.38867,
"c": 0.1889,
"h": 270.9
},
"luminance": 0.05156
}Semantic roles & 50–950 ramp
primary
#262EA7
secondary
#C3BE65
accent
#DC42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82