#262C72#262C72
#262C72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.119 H 274.2°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #262C72 |
|---|---|
| RGB | rgb(38, 44, 114) |
| HSL | hsl(235, 50%, 30%) |
| HSV | hsv(235, 67%, 45%) |
| CMYK | cmyk(66.7%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(21.68, 21.57, -41.29) |
| CIE-LCH | lch(21.68, 46.58, 297.59°) |
| OKLab | oklab(33.34% 0.0088 -0.1188) |
| OKLCH | oklch(33.34% 0.119 274.2) |
| XYZ | xyz(4.7363, 3.4279, 16.3284) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.60
Marine
#042E60
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 7.20
Navy Blue
#1B2A4A
ΔE00 8.16
Blueberry
#464196
ΔE00 8.29
Royal
#0C1793
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C72 #726C26
analogous
#265272 #262C72 #462672
triadic
#262C72 #72262C #2C7226
tetradic
#262C72 #722652 #726C26 #267246
square
#262C72 #722652 #726C26 #267246
split-complementary
#262C72 #724626 #527226
monochromatic
#080917 #171A44 #262C72 #353EA0 #4E58C4
Accessibility & contrast
On white
12.46
#262C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#262C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C72
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C72 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #262c72; /* rgb */ color: rgb(38, 44, 114); /* oklch */ color: oklch(33.3% 0.119 274.2);
Tailwind
colors: {
custom: {
50: '#6a659b',
500: '#262c72',
950: '#000000',
},
}SCSS
$custom: #262c72; $custom-light: #6a659b; $custom-dark: #000000;
JSON
{
"hex": "#262c72",
"rgb": {
"r": 38,
"g": 44,
"b": 114
},
"hsl": {
"h": 235.263,
"s": 50,
"l": 29.804
},
"oklch": {
"l": 0.3334,
"c": 0.11912,
"h": 274.2
},
"luminance": 0.03428
}Semantic roles & 50–950 ramp
primary
#262C72
secondary
#A59E4F
accent
#CF4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E