#262A86#262A86
#262A86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.150 H 273.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #262A86 |
|---|---|
| RGB | rgb(38, 42, 134) |
| HSL | hsl(238, 56%, 34%) |
| HSV | hsv(238, 72%, 53%) |
| CMYK | cmyk(71.6%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(22.96, 30.36, -51.88) |
| CIE-LCH | lch(22.96, 60.12, 300.34°) |
| OKLab | oklab(34.83% 0.0093 -0.1499) |
| OKLCH | oklch(34.83% 0.15 273.6) |
| XYZ | xyz(5.9289, 3.7887, 22.9685) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.20
Royal
#0C1793
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.85
Blueberry
#464196
ΔE00 7.37
Cobalt Blue
#030AA7
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262A86 #868226
analogous
#265A86 #262A86 #522686
triadic
#262A86 #86262A #2A8626
tetradic
#262A86 #86265A #868226 #268652
square
#262A86 #86265A #868226 #268652
split-complementary
#262A86 #865226 #5A8626
monochromatic
#0B0C27 #181B56 #262A86 #3439B6 #575CCF
Accessibility & contrast
On white
11.95
#262A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#262A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262A86
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262A86 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #262a86; /* rgb */ color: rgb(38, 42, 134); /* oklch */ color: oklch(34.8% 0.150 273.6);
Tailwind
colors: {
custom: {
50: '#6f64aa',
500: '#262a86',
950: '#000000',
},
}SCSS
$custom: #262a86; $custom-light: #6f64aa; $custom-dark: #000000;
JSON
{
"hex": "#262a86",
"rgb": {
"r": 38,
"g": 42,
"b": 134
},
"hsl": {
"h": 237.5,
"s": 55.814,
"l": 33.725
},
"oklch": {
"l": 0.34834,
"c": 0.15018,
"h": 273.6
},
"luminance": 0.03789
}Semantic roles & 50–950 ramp
primary
#262A86
secondary
#B4B054
accent
#D949DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F