#26257F#26257F
#26257F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.147 H 275.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #26257F |
|---|---|
| RGB | rgb(38, 37, 127) |
| HSL | hsl(241, 55%, 32%) |
| HSV | hsv(241, 71%, 50%) |
| CMYK | cmyk(70.1%, 70.9%, 0%, 50.2%) |
| CIE-LAB | lab(21.08, 31.07, -50.56) |
| CIE-LCH | lch(21.08, 59.34, 301.57°) |
| OKLab | oklab(33.27% 0.0138 -0.146) |
| OKLCH | oklch(33.27% 0.147 275.4) |
| XYZ | xyz(5.2904, 3.2670, 20.4264) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.65
Royal
#0C1793
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 7.29
Indigo (survey)
#380282
ΔE00 7.30
Darkblue
#00008B
ΔE00 7.54
Navy
#000080
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26257F #7E7F25
analogous
#25517F #26257F #53257F
triadic
#26257F #7F2625 #257F26
tetradic
#26257F #7F2551 #7E7F25 #257F53
square
#26257F #7F2551 #7E7F25 #257F53
split-complementary
#26257F #7F5325 #517F25
monochromatic
#0A0920 #181750 #26257F #3433AE #5352CD
Accessibility & contrast
On white
12.70
#26257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#26257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #26257F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26257F | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #26257f; /* rgb */ color: rgb(38, 37, 127); /* oklch */ color: oklch(33.3% 0.147 275.4);
Tailwind
colors: {
custom: {
50: '#6e60a5',
500: '#26257f',
950: '#000000',
},
}SCSS
$custom: #26257f; $custom-light: #6e60a5; $custom-dark: #000000;
JSON
{
"hex": "#26257f",
"rgb": {
"r": 38,
"g": 37,
"b": 127
},
"hsl": {
"h": 240.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.33268,
"c": 0.14667,
"h": 275.4
},
"luminance": 0.03268
}Semantic roles & 50–950 ramp
primary
#26257F
secondary
#B0B14F
accent
#DE4ADD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F