#262D79#262D79
#262D79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.128 H 273.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #262D79 |
|---|---|
| RGB | rgb(38, 45, 121) |
| HSL | hsl(235, 52%, 31%) |
| HSV | hsv(235, 69%, 47%) |
| CMYK | cmyk(68.6%, 62.8%, 0%, 52.5%) |
| CIE-LAB | lab(22.55, 23.52, -44.36) |
| CIE-LCH | lch(22.55, 50.21, 297.94°) |
| OKLab | oklab(34.17% 0.0078 -0.1278) |
| OKLCH | oklch(34.17% 0.128 273.5) |
| XYZ | xyz(5.1878, 3.6689, 18.5202) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 6.68
Marine
#042E60
ΔE00 6.90
Blueberry
#464196
ΔE00 7.55
Royal
#0C1793
ΔE00 7.60
Sapphire (survey)
#2138AB
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262D79 #797226
analogous
#265679 #262D79 #482679
triadic
#262D79 #79262D #2D7926
tetradic
#262D79 #792656 #797226 #267948
square
#262D79 #792656 #797226 #267948
split-complementary
#262D79 #794826 #567926
monochromatic
#090A1C #171C4A #262D79 #353EA8 #515BC8
Accessibility & contrast
On white
12.11
#262D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#262D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262D79
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262D79 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262d79; /* rgb */ color: rgb(38, 45, 121); /* oklch */ color: oklch(34.2% 0.128 273.5);
Tailwind
colors: {
custom: {
50: '#6b66a0',
500: '#262d79',
950: '#000000',
},
}SCSS
$custom: #262d79; $custom-light: #6b66a0; $custom-dark: #000000;
JSON
{
"hex": "#262d79",
"rgb": {
"r": 38,
"g": 45,
"b": 121
},
"hsl": {
"h": 234.94,
"s": 52.201,
"l": 31.176
},
"oklch": {
"l": 0.34165,
"c": 0.12804,
"h": 273.5
},
"luminance": 0.03669
}Semantic roles & 50–950 ramp
primary
#262D79
secondary
#ABA350
accent
#D04CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E