#26197F#26197F
#26197F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.160 H 277.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #26197F |
|---|---|
| RGB | rgb(38, 25, 127) |
| HSL | hsl(248, 67%, 30%) |
| HSV | hsv(248, 80%, 50%) |
| CMYK | cmyk(70.1%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(18.54, 38.19, -54.75) |
| CIE-LCH | lch(18.54, 66.75, 304.90°) |
| OKLab | oklab(31.46% 0.0214 -0.1582) |
| OKLCH | oklch(31.46% 0.16 277.7) |
| XYZ | xyz(4.9765, 2.6392, 20.3217) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.90
Royal
#0C1793
ΔE00 3.40
Indigo (survey)
#380282
ΔE00 4.39
Darkblue
#00008B
ΔE00 4.79
Navy
#000080
ΔE00 4.80
Dark Royal Blue
#02066F
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26197F #727F19
analogous
#193F7F #26197F #59197F
triadic
#26197F #7F2619 #197F26
tetradic
#26197F #7F193F #727F19 #197F59
square
#26197F #7F193F #727F19 #197F59
split-complementary
#26197F #7F5919 #3F7F19
monochromatic
#08051A #170F4C #26197F #3523B2 #4E3AD8
Accessibility & contrast
On white
13.74
#26197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#26197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26197F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26197F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #26197f; /* rgb */ color: rgb(38, 25, 127); /* oklch */ color: oklch(31.5% 0.160 277.7);
Tailwind
colors: {
custom: {
50: '#6f58a5',
500: '#26197f',
950: '#000000',
},
}SCSS
$custom: #26197f; $custom-light: #6f58a5; $custom-dark: #000000;
JSON
{
"hex": "#26197f",
"rgb": {
"r": 38,
"g": 25,
"b": 127
},
"hsl": {
"h": 247.647,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31458,
"c": 0.15963,
"h": 277.7
},
"luminance": 0.0264
}Semantic roles & 50–950 ramp
primary
#26197F
secondary
#A5B341
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F