#262C77#262C77
#262C77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.126 H 274.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #262C77 |
|---|---|
| RGB | rgb(38, 44, 119) |
| HSL | hsl(236, 52%, 31%) |
| HSV | hsv(236, 68%, 47%) |
| CMYK | cmyk(68.1%, 63%, 0%, 53.3%) |
| CIE-LAB | lab(22.11, 23.46, -43.80) |
| CIE-LCH | lch(22.11, 49.68, 298.17°) |
| OKLab | oklab(33.79% 0.0087 -0.1262) |
| OKLCH | oklch(33.79% 0.126 274) |
| XYZ | xyz(5.0287, 3.5449, 17.8684) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 6.89
Marine
#042E60
ΔE00 6.91
Royal
#0C1793
ΔE00 7.61
Blueberry
#464196
ΔE00 7.85
Sapphire (survey)
#2138AB
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C77 #777126
analogous
#265477 #262C77 #482677
triadic
#262C77 #77262C #2C7726
tetradic
#262C77 #772654 #777126 #267748
square
#262C77 #772654 #777126 #267748
split-complementary
#262C77 #774826 #547726
monochromatic
#080A1A #171B49 #262C77 #353DA5 #5059C7
Accessibility & contrast
On white
12.29
#262C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#262C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C77
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C77 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262c77; /* rgb */ color: rgb(38, 44, 119); /* oklch */ color: oklch(33.8% 0.126 274.0);
Tailwind
colors: {
custom: {
50: '#6b659f',
500: '#262c77',
950: '#000000',
},
}SCSS
$custom: #262c77; $custom-light: #6b659f; $custom-dark: #000000;
JSON
{
"hex": "#262c77",
"rgb": {
"r": 38,
"g": 44,
"b": 119
},
"hsl": {
"h": 235.556,
"s": 51.592,
"l": 30.784
},
"oklch": {
"l": 0.33787,
"c": 0.12647,
"h": 274
},
"luminance": 0.03545
}Semantic roles & 50–950 ramp
primary
#262C77
secondary
#A9A34F
accent
#D14DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E