#262A7A#262A7A
#262A7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.133 H 274.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #262A7A |
|---|---|
| RGB | rgb(38, 42, 122) |
| HSL | hsl(237, 53%, 31%) |
| HSV | hsv(237, 69%, 48%) |
| CMYK | cmyk(68.9%, 65.6%, 0%, 52.2%) |
| CIE-LAB | lab(21.85, 25.94, -46.13) |
| CIE-LCH | lch(21.85, 52.93, 299.35°) |
| OKLab | oklab(33.68% 0.0104 -0.133) |
| OKLCH | oklch(33.68% 0.133 274.5) |
| XYZ | xyz(5.1390, 3.4727, 18.8081) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Royal
#0C1793
ΔE00 6.68
Darkslateblue
#483D8B
ΔE00 7.01
Marine
#042E60
ΔE00 7.65
Sapphire (survey)
#2138AB
ΔE00 7.88
Blueberry
#464196
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A7A #7A7626
analogous
#26547A #262A7A #4C267A
triadic
#262A7A #7A262A #2A7A26
tetradic
#262A7A #7A2654 #7A7626 #267A4C
square
#262A7A #7A2654 #7A7626 #267A4C
split-complementary
#262A7A #7A4C26 #547A26
monochromatic
#090A1D #171A4B #262A7A #353AA9 #5157C9
Accessibility & contrast
On white
12.39
#262A7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#262A7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A7A
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A7A | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #262a7a; /* rgb */ color: rgb(38, 42, 122); /* oklch */ color: oklch(33.7% 0.133 274.5);
Tailwind
colors: {
custom: {
50: '#6c63a1',
500: '#262a7a',
950: '#000000',
},
}SCSS
$custom: #262a7a; $custom-light: #6c63a1; $custom-dark: #000000;
JSON
{
"hex": "#262a7a",
"rgb": {
"r": 38,
"g": 42,
"b": 122
},
"hsl": {
"h": 237.143,
"s": 52.5,
"l": 31.373
},
"oklch": {
"l": 0.33677,
"c": 0.13344,
"h": 274.5
},
"luminance": 0.03473
}Semantic roles & 50–950 ramp
primary
#262A7A
secondary
#ACA850
accent
#D54CDC
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F