#262E7E#262E7E
#262E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.134 H 272.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #262E7E |
|---|---|
| RGB | rgb(38, 46, 126) |
| HSL | hsl(235, 54%, 32%) |
| HSV | hsv(235, 70%, 49%) |
| CMYK | cmyk(69.8%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.24, 24.72, -46.39) |
| CIE-LCH | lch(23.24, 52.56, 298.06°) |
| OKLab | oklab(34.82% 0.0068 -0.1337) |
| OKLCH | oklch(34.82% 0.134 272.9) |
| XYZ | xyz(5.5410, 3.8719, 20.1900) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 6.95
Blueberry
#464196
ΔE00 7.04
Royal
#0C1793
ΔE00 7.25
Marine
#042E60
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262E7E #7E7626
analogous
#265A7E #262E7E #4A267E
triadic
#262E7E #7E262E #2E7E26
tetradic
#262E7E #7E265A #7E7626 #267E4A
square
#262E7E #7E265A #7E7626 #267E4A
split-complementary
#262E7E #7E4A26 #5A7E26
monochromatic
#0A0C20 #181D4F #262E7E #343FAD #535ECB
Accessibility & contrast
On white
11.83
#262E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#262E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262E7E
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262E7E | 1.00 | 11.83 | 1.77 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #262e7e; /* rgb */ color: rgb(38, 46, 126); /* oklch */ color: oklch(34.8% 0.134 272.9);
Tailwind
colors: {
custom: {
50: '#6c66a4',
500: '#262e7e',
950: '#000000',
},
}SCSS
$custom: #262e7e; $custom-light: #6c66a4; $custom-dark: #000000;
JSON
{
"hex": "#262e7e",
"rgb": {
"r": 38,
"g": 46,
"b": 126
},
"hsl": {
"h": 234.545,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.34816,
"c": 0.13392,
"h": 272.9
},
"luminance": 0.03872
}Semantic roles & 50–950 ramp
primary
#262E7E
secondary
#B0A750
accent
#D04BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F