#26187C#26187C
#26187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.157 H 278.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #26187C |
|---|---|
| RGB | rgb(38, 24, 124) |
| HSL | hsl(248, 68%, 29%) |
| HSV | hsv(248, 81%, 49%) |
| CMYK | cmyk(69.4%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.01, 37.74, -53.71) |
| CIE-LCH | lch(18.01, 65.65, 305.10°) |
| OKLab | oklab(30.99% 0.0228 -0.1551) |
| OKLCH | oklch(30.99% 0.157 278.4) |
| XYZ | xyz(4.7629, 2.5202, 19.3003) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.60
Royal
#0C1793
ΔE00 3.80
Indigo (survey)
#380282
ΔE00 4.32
Dark Royal Blue
#02066F
ΔE00 4.55
Navy
#000080
ΔE00 4.71
Deep Blue
#040273
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26187C #6E7C18
analogous
#183C7C #26187C #58187C
triadic
#26187C #7C2618 #187C26
tetradic
#26187C #7C183C #6E7C18 #187C58
square
#26187C #7C183C #6E7C18 #187C58
split-complementary
#26187C #7C5818 #3C7C18
monochromatic
#08051A #160E49 #26187C #3622AF #4D36D8
Accessibility & contrast
On white
13.96
#26187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#26187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26187C
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26187C | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #26187c; /* rgb */ color: rgb(38, 24, 124); /* oklch */ color: oklch(31.0% 0.157 278.4);
Tailwind
colors: {
custom: {
50: '#6e58a3',
500: '#26187c',
950: '#000000',
},
}SCSS
$custom: #26187c; $custom-light: #6e58a3; $custom-dark: #000000;
JSON
{
"hex": "#26187c",
"rgb": {
"r": 38,
"g": 24,
"b": 124
},
"hsl": {
"h": 248.4,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.30989,
"c": 0.15681,
"h": 278.4
},
"luminance": 0.02521
}Semantic roles & 50–950 ramp
primary
#26187C
secondary
#A1B13F
accent
#EA3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F