#261C87#261C87
#261C87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.167 H 276.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #261C87 |
|---|---|
| RGB | rgb(38, 28, 135) |
| HSL | hsl(246, 66%, 32%) |
| HSV | hsv(246, 79%, 53%) |
| CMYK | cmyk(71.9%, 79.3%, 0%, 47.1%) |
| CIE-LAB | lab(20.01, 39.19, -57.37) |
| CIE-LCH | lch(20.01, 69.48, 304.34°) |
| OKLab | oklab(32.76% 0.0177 -0.1658) |
| OKLCH | oklch(32.76% 0.167 276.1) |
| XYZ | xyz(5.5863, 2.9913, 23.2000) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.57
Midnight Blue
#191970
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.88
Darkblue
#00008B
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.19
Navy
#000080
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C87 #7D871C
analogous
#1C4887 #261C87 #5B1C87
triadic
#261C87 #87261C #1C8726
tetradic
#261C87 #871C48 #7D871C #1C875B
square
#261C87 #871C48 #7D871C #1C875B
split-complementary
#261C87 #875B1C #48871C
monochromatic
#090722 #181154 #261C87 #3427BA #5345D8
Accessibility & contrast
On white
13.14
#261C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#261C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C87
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C87 | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #261c87; /* rgb */ color: rgb(38, 28, 135); /* oklch */ color: oklch(32.8% 0.167 276.1);
Tailwind
colors: {
custom: {
50: '#705bab',
500: '#261c87',
950: '#000000',
},
}SCSS
$custom: #261c87; $custom-light: #705bab; $custom-dark: #000000;
JSON
{
"hex": "#261c87",
"rgb": {
"r": 38,
"g": 28,
"b": 135
},
"hsl": {
"h": 245.607,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32757,
"c": 0.16679,
"h": 276.1
},
"luminance": 0.02992
}Semantic roles & 50–950 ramp
primary
#261C87
secondary
#AFBA45
accent
#E93FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F