#26187E#26187E
#26187E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 278.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #26187E |
|---|---|
| RGB | rgb(38, 24, 126) |
| HSL | hsl(248, 68%, 29%) |
| HSV | hsv(248, 81%, 49%) |
| CMYK | cmyk(69.8%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(18.24, 38.39, -54.61) |
| CIE-LCH | lch(18.24, 66.75, 305.11°) |
| OKLab | oklab(31.22% 0.0222 -0.1578) |
| OKLCH | oklch(31.22% 0.159 278) |
| XYZ | xyz(4.8906, 2.5713, 19.9732) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Royal
#0C1793
ΔE00 3.52
Indigo (survey)
#380282
ΔE00 4.23
Navy
#000080
ΔE00 4.64
Dark Royal Blue
#02066F
ΔE00 4.65
Darkblue
#00008B
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26187E #707E18
analogous
#183D7E #26187E #59187E
triadic
#26187E #7E2618 #187E26
tetradic
#26187E #7E183D #707E18 #187E59
square
#26187E #7E183D #707E18 #187E59
split-complementary
#26187E #7E5918 #3D7E18
monochromatic
#08051A #160E4B #26187E #3622B1 #4E37D9
Accessibility & contrast
On white
13.87
#26187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#26187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26187E
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26187E | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #26187e; /* rgb */ color: rgb(38, 24, 126); /* oklch */ color: oklch(31.2% 0.159 278.0);
Tailwind
colors: {
custom: {
50: '#6f58a5',
500: '#26187e',
950: '#000000',
},
}SCSS
$custom: #26187e; $custom-light: #6f58a5; $custom-dark: #000000;
JSON
{
"hex": "#26187e",
"rgb": {
"r": 38,
"g": 24,
"b": 126
},
"hsl": {
"h": 248.235,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.31216,
"c": 0.15932,
"h": 278
},
"luminance": 0.02572
}Semantic roles & 50–950 ramp
primary
#26187E
secondary
#A3B23F
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F