#262C79#262C79
#262C79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.129 H 273.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #262C79 |
|---|---|
| RGB | rgb(38, 44, 121) |
| HSL | hsl(236, 52%, 31%) |
| HSV | hsv(236, 69%, 47%) |
| CMYK | cmyk(68.6%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.28, 24.21, -44.79) |
| CIE-LCH | lch(22.28, 50.91, 298.39°) |
| OKLab | oklab(33.97% 0.0087 -0.1291) |
| OKLCH | oklch(33.97% 0.129 273.8) |
| XYZ | xyz(5.1501, 3.5935, 18.5077) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.79
Marine
#042E60
ΔE00 7.11
Royal
#0C1793
ΔE00 7.33
Blueberry
#464196
ΔE00 7.69
Sapphire (survey)
#2138AB
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C79 #797326
analogous
#265579 #262C79 #492679
triadic
#262C79 #79262C #2C7926
tetradic
#262C79 #792655 #797326 #267949
square
#262C79 #792655 #797326 #267949
split-complementary
#262C79 #794926 #557926
monochromatic
#090A1C #171B4A #262C79 #353DA8 #515AC8
Accessibility & contrast
On white
12.22
#262C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#262C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C79
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C79 | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262c79; /* rgb */ color: rgb(38, 44, 121); /* oklch */ color: oklch(34.0% 0.129 273.8);
Tailwind
colors: {
custom: {
50: '#6b65a0',
500: '#262c79',
950: '#000000',
},
}SCSS
$custom: #262c79; $custom-light: #6b65a0; $custom-dark: #000000;
JSON
{
"hex": "#262c79",
"rgb": {
"r": 38,
"g": 44,
"b": 121
},
"hsl": {
"h": 235.663,
"s": 52.201,
"l": 31.176
},
"oklch": {
"l": 0.33969,
"c": 0.12937,
"h": 273.8
},
"luminance": 0.03594
}Semantic roles & 50–950 ramp
primary
#262C79
secondary
#ABA550
accent
#D14CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E