#262E79#262E79
#262E79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.127 H 273.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #262E79 |
|---|---|
| RGB | rgb(38, 46, 121) |
| HSL | hsl(234, 52%, 31%) |
| HSV | hsv(234, 69%, 47%) |
| CMYK | cmyk(68.6%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(22.81, 22.83, -43.92) |
| CIE-LCH | lch(22.81, 49.50, 297.47°) |
| OKLab | oklab(34.36% 0.0069 -0.1265) |
| OKLCH | oklch(34.36% 0.127 273.1) |
| XYZ | xyz(5.2264, 3.7461, 18.5331) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.59
Marine
#042E60
ΔE00 6.70
Blueberry
#464196
ΔE00 7.42
Sapphire (survey)
#2138AB
ΔE00 7.71
Royal
#0C1793
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262E79 #797126
analogous
#265779 #262E79 #472679
triadic
#262E79 #79262E #2E7926
tetradic
#262E79 #792657 #797126 #267947
square
#262E79 #792657 #797126 #267947
split-complementary
#262E79 #794726 #577926
monochromatic
#090B1C #171C4A #262E79 #3540A8 #515DC8
Accessibility & contrast
On white
12.00
#262E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#262E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262E79
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262E79 | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262e79; /* rgb */ color: rgb(38, 46, 121); /* oklch */ color: oklch(34.4% 0.127 273.1);
Tailwind
colors: {
custom: {
50: '#6b66a0',
500: '#262e79',
950: '#000000',
},
}SCSS
$custom: #262e79; $custom-light: #6b66a0; $custom-dark: #000000;
JSON
{
"hex": "#262e79",
"rgb": {
"r": 38,
"g": 46,
"b": 121
},
"hsl": {
"h": 234.217,
"s": 52.201,
"l": 31.176
},
"oklch": {
"l": 0.34364,
"c": 0.12669,
"h": 273.1
},
"luminance": 0.03747
}Semantic roles & 50–950 ramp
primary
#262E79
secondary
#ABA250
accent
#CE4CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E