#262B79#262B79
#262B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.131 H 274.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #262B79 |
|---|---|
| RGB | rgb(38, 43, 121) |
| HSL | hsl(236, 52%, 31%) |
| HSV | hsv(236, 69%, 47%) |
| CMYK | cmyk(68.6%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.02, 24.89, -45.22) |
| CIE-LCH | lch(22.02, 51.62, 298.83°) |
| OKLab | oklab(33.78% 0.0096 -0.1303) |
| OKLCH | oklch(33.78% 0.131 274.2) |
| XYZ | xyz(5.1133, 3.5198, 18.4954) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 6.91
Royal
#0C1793
ΔE00 7.07
Marine
#042E60
ΔE00 7.33
Blueberry
#464196
ΔE00 7.84
Sapphire (survey)
#2138AB
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262B79 #797426
analogous
#265479 #262B79 #4A2679
triadic
#262B79 #79262B #2B7926
tetradic
#262B79 #792654 #797426 #26794A
square
#262B79 #792654 #797426 #26794A
split-complementary
#262B79 #794A26 #547926
monochromatic
#090A1C #171A4A #262B79 #353CA8 #5158C8
Accessibility & contrast
On white
12.32
#262B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#262B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262B79
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262B79 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262b79; /* rgb */ color: rgb(38, 43, 121); /* oklch */ color: oklch(33.8% 0.131 274.2);
Tailwind
colors: {
custom: {
50: '#6c64a0',
500: '#262b79',
950: '#000000',
},
}SCSS
$custom: #262b79; $custom-light: #6c64a0; $custom-dark: #000000;
JSON
{
"hex": "#262b79",
"rgb": {
"r": 38,
"g": 43,
"b": 121
},
"hsl": {
"h": 236.386,
"s": 52.201,
"l": 31.176
},
"oklch": {
"l": 0.33775,
"c": 0.1307,
"h": 274.2
},
"luminance": 0.0352
}Semantic roles & 50–950 ramp
primary
#262B79
secondary
#ABA650
accent
#D34CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E