#26187F#26187F
#26187F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.161 H 277.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #26187F |
|---|---|
| RGB | rgb(38, 24, 127) |
| HSL | hsl(248, 68%, 30%) |
| HSV | hsv(248, 81%, 50%) |
| CMYK | cmyk(70.1%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(18.35, 38.72, -55.05) |
| CIE-LCH | lch(18.35, 67.31, 305.12°) |
| OKLab | oklab(31.33% 0.022 -0.159) |
| OKLCH | oklch(31.33% 0.161 277.9) |
| XYZ | xyz(4.9555, 2.5972, 20.3147) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.38
Indigo (survey)
#380282
ΔE00 4.20
Darkblue
#00008B
ΔE00 4.61
Navy
#000080
ΔE00 4.61
Dark Royal Blue
#02066F
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26187F #717F18
analogous
#183E7F #26187F #59187F
triadic
#26187F #7F2618 #187F26
tetradic
#26187F #7F183E #717F18 #187F59
square
#26187F #7F183E #717F18 #187F59
split-complementary
#26187F #7F5918 #3E7F18
monochromatic
#08051A #170E4C #26187F #3522B2 #4E38D9
Accessibility & contrast
On white
13.82
#26187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#26187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26187F
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26187F | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #26187f; /* rgb */ color: rgb(38, 24, 127); /* oklch */ color: oklch(31.3% 0.161 277.9);
Tailwind
colors: {
custom: {
50: '#6f58a5',
500: '#26187f',
950: '#000000',
},
}SCSS
$custom: #26187f; $custom-light: #6f58a5; $custom-dark: #000000;
JSON
{
"hex": "#26187f",
"rgb": {
"r": 38,
"g": 24,
"b": 127
},
"hsl": {
"h": 248.155,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3133,
"c": 0.16056,
"h": 277.9
},
"luminance": 0.02598
}Semantic roles & 50–950 ramp
primary
#26187F
secondary
#A4B33F
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F