#262E7F#262E7F
#262E7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.135 H 272.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #262E7F |
|---|---|
| RGB | rgb(38, 46, 127) |
| HSL | hsl(235, 54%, 32%) |
| HSV | hsv(235, 70%, 50%) |
| CMYK | cmyk(70.1%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(23.33, 25.10, -46.88) |
| CIE-LCH | lch(23.33, 53.17, 298.17°) |
| OKLab | oklab(34.91% 0.0067 -0.1352) |
| OKLCH | oklch(34.91% 0.135 272.8) |
| XYZ | xyz(5.6058, 3.8978, 20.5315) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.35
Sapphire (survey)
#2138AB
ΔE00 6.80
Blueberry
#464196
ΔE00 6.98
Royal
#0C1793
ΔE00 7.13
Marine
#042E60
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262E7F #7F7726
analogous
#265A7F #262E7F #4B267F
triadic
#262E7F #7F262E #2E7F26
tetradic
#262E7F #7F265A #7F7726 #267F4B
square
#262E7F #7F265A #7F7726 #267F4B
split-complementary
#262E7F #7F4B26 #5A7F26
monochromatic
#0A0C21 #181D50 #262E7F #343FAE #545ECC
Accessibility & contrast
On white
11.80
#262E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#262E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262E7F
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262E7F | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #262e7f; /* rgb */ color: rgb(38, 46, 127); /* oklch */ color: oklch(34.9% 0.135 272.8);
Tailwind
colors: {
custom: {
50: '#6d66a5',
500: '#262e7f',
950: '#000000',
},
}SCSS
$custom: #262e7f; $custom-light: #6d66a5; $custom-dark: #000000;
JSON
{
"hex": "#262e7f",
"rgb": {
"r": 38,
"g": 46,
"b": 127
},
"hsl": {
"h": 234.607,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.34907,
"c": 0.13536,
"h": 272.8
},
"luminance": 0.03898
}Semantic roles & 50–950 ramp
primary
#262E7F
secondary
#B0A851
accent
#D04ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F