#261582#261582
#261582 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.167 H 277.8°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #261582 |
|---|---|
| RGB | rgb(38, 21, 130) |
| HSL | hsl(249, 72%, 30%) |
| HSV | hsv(249, 84%, 51%) |
| CMYK | cmyk(70.8%, 83.8%, 0%, 49%) |
| CIE-LAB | lab(18.19, 41.18, -57.23) |
| CIE-LCH | lch(18.19, 70.51, 305.73°) |
| OKLab | oklab(31.32% 0.0225 -0.1653) |
| OKLCH | oklch(31.32% 0.167 277.8) |
| XYZ | xyz(5.0955, 2.5597, 21.3403) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.03
Midnight Blue
#191970
ΔE00 3.61
Indigo (survey)
#380282
ΔE00 3.62
Darkblue
#00008B
ΔE00 3.93
Navy
#000080
ΔE00 4.07
Deep Blue
#040273
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261582 #718215
analogous
#153B82 #261582 #5D1582
triadic
#261582 #822615 #158226
tetradic
#261582 #82153B #718215 #15825D
square
#261582 #82153B #718215 #15825D
split-complementary
#261582 #825D15 #3B8215
monochromatic
#08041A #170C4D #261582 #351EB7 #4E33DE
Accessibility & contrast
On white
13.89
#261582 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#261582 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261582
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261582 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261582 | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #261582; /* rgb */ color: rgb(38, 21, 130); /* oklch */ color: oklch(31.3% 0.167 277.8);
Tailwind
colors: {
custom: {
50: '#7057a8',
500: '#261582',
950: '#000000',
},
}SCSS
$custom: #261582; $custom-light: #7057a8; $custom-dark: #000000;
JSON
{
"hex": "#261582",
"rgb": {
"r": 38,
"g": 21,
"b": 130
},
"hsl": {
"h": 249.358,
"s": 72.185,
"l": 29.608
},
"oklch": {
"l": 0.31317,
"c": 0.16687,
"h": 277.8
},
"luminance": 0.0256
}Semantic roles & 50–950 ramp
primary
#261582
secondary
#A4B73C
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F