#262C76#262C76
#262C76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.125 H 274.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #262C76 |
|---|---|
| RGB | rgb(38, 44, 118) |
| HSL | hsl(236, 51%, 31%) |
| HSV | hsv(236, 68%, 46%) |
| CMYK | cmyk(67.8%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.02, 23.08, -43.30) |
| CIE-LCH | lch(22.02, 49.07, 298.06°) |
| OKLab | oklab(33.7% 0.0088 -0.1247) |
| OKLCH | oklch(33.7% 0.125 274) |
| XYZ | xyz(4.9689, 3.5210, 17.5538) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.40
Marine
#042E60
ΔE00 6.81
Darkslateblue
#483D8B
ΔE00 6.94
Royal
#0C1793
ΔE00 7.75
Blueberry
#464196
ΔE00 7.93
Sapphire (survey)
#2138AB
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262C76 #767026
analogous
#265476 #262C76 #482676
triadic
#262C76 #76262C #2C7626
tetradic
#262C76 #762654 #767026 #267648
square
#262C76 #762654 #767026 #267648
split-complementary
#262C76 #764826 #547626
monochromatic
#080919 #171B48 #262C76 #353DA4 #5059C7
Accessibility & contrast
On white
12.32
#262C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#262C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262C76
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262C76 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #262c76; /* rgb */ color: rgb(38, 44, 118); /* oklch */ color: oklch(33.7% 0.125 274.0);
Tailwind
colors: {
custom: {
50: '#6b659e',
500: '#262c76',
950: '#000000',
},
}SCSS
$custom: #262c76; $custom-light: #6b659e; $custom-dark: #000000;
JSON
{
"hex": "#262c76",
"rgb": {
"r": 38,
"g": 44,
"b": 118
},
"hsl": {
"h": 235.5,
"s": 51.282,
"l": 30.588
},
"oklch": {
"l": 0.33696,
"c": 0.12501,
"h": 274
},
"luminance": 0.03521
}Semantic roles & 50–950 ramp
primary
#262C76
secondary
#A8A24F
accent
#D04DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E