#262C7E#262C7E
#262C7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.137 H 273.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #262C7E |
|---|---|
| RGB | rgb(38, 44, 126) |
| HSL | hsl(236, 54%, 32%) |
| HSV | hsv(236, 70%, 49%) |
| CMYK | cmyk(69.8%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(22.72, 26.08, -47.24) |
| CIE-LCH | lch(22.72, 53.96, 298.90°) |
| OKLab | oklab(34.43% 0.0084 -0.1363) |
| OKLCH | oklch(34.43% 0.137 273.5) |
| XYZ | xyz(5.4647, 3.7193, 20.1645) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 6.62
Royal
#0C1793
ΔE00 6.69
Sapphire (survey)
#2138AB
ΔE00 7.12
Blueberry
#464196
ΔE00 7.36
Marine
#042E60
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C7E #7E7826
analogous
#26587E #262C7E #4C267E
triadic
#262C7E #7E262C #2C7E26
tetradic
#262C7E #7E2658 #7E7826 #267E4C
square
#262C7E #7E2658 #7E7826 #267E4C
split-complementary
#262C7E #7E4C26 #587E26
monochromatic
#0A0B20 #181C4F #262C7E #343CAD #535BCB
Accessibility & contrast
On white
12.04
#262C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#262C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C7E
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C7E | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #262c7e; /* rgb */ color: rgb(38, 44, 126); /* oklch */ color: oklch(34.4% 0.137 273.5);
Tailwind
colors: {
custom: {
50: '#6d65a4',
500: '#262c7e',
950: '#000000',
},
}SCSS
$custom: #262c7e; $custom-light: #6d65a4; $custom-dark: #000000;
JSON
{
"hex": "#262c7e",
"rgb": {
"r": 38,
"g": 44,
"b": 126
},
"hsl": {
"h": 235.909,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.34431,
"c": 0.13653,
"h": 273.5
},
"luminance": 0.0372
}Semantic roles & 50–950 ramp
primary
#262C7E
secondary
#B0A950
accent
#D34BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F