#262C78#262C78
#262C78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.128 H 273.9°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #262C78 |
|---|---|
| RGB | rgb(38, 44, 120) |
| HSL | hsl(236, 52%, 31%) |
| HSV | hsv(236, 68%, 47%) |
| CMYK | cmyk(68.3%, 63.3%, 0%, 52.9%) |
| CIE-LAB | lab(22.19, 23.83, -44.29) |
| CIE-LCH | lch(22.19, 50.30, 298.28°) |
| OKLab | oklab(33.88% 0.0087 -0.1276) |
| OKLCH | oklch(33.88% 0.128 273.9) |
| XYZ | xyz(5.0891, 3.5691, 18.1864) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 6.84
Marine
#042E60
ΔE00 7.01
Royal
#0C1793
ΔE00 7.47
Blueberry
#464196
ΔE00 7.77
Sapphire (survey)
#2138AB
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C78 #787226
analogous
#265578 #262C78 #492678
triadic
#262C78 #78262C #2C7826
tetradic
#262C78 #782655 #787226 #267849
square
#262C78 #782655 #787226 #267849
split-complementary
#262C78 #784926 #557826
monochromatic
#090A1B #171B4A #262C78 #353DA6 #5159C8
Accessibility & contrast
On white
12.25
#262C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#262C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C78
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C78 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262c78; /* rgb */ color: rgb(38, 44, 120); /* oklch */ color: oklch(33.9% 0.128 273.9);
Tailwind
colors: {
custom: {
50: '#6b65a0',
500: '#262c78',
950: '#000000',
},
}SCSS
$custom: #262c78; $custom-light: #6b65a0; $custom-dark: #000000;
JSON
{
"hex": "#262c78",
"rgb": {
"r": 38,
"g": 44,
"b": 120
},
"hsl": {
"h": 235.61,
"s": 51.899,
"l": 30.98
},
"oklch": {
"l": 0.33877,
"c": 0.12793,
"h": 273.9
},
"luminance": 0.03569
}Semantic roles & 50–950 ramp
primary
#262C78
secondary
#AAA450
accent
#D14CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E