#261786#261786
#261786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.170 H 276.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #261786 |
|---|---|
| RGB | rgb(38, 23, 134) |
| HSL | hsl(248, 71%, 31%) |
| HSV | hsv(248, 83%, 53%) |
| CMYK | cmyk(71.6%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.99, 41.46, -58.42) |
| CIE-LCH | lch(18.99, 71.64, 305.37°) |
| OKLab | oklab(32.02% 0.0204 -0.1688) |
| OKLCH | oklch(32.02% 0.17 276.9) |
| XYZ | xyz(5.4074, 2.7456, 22.7946) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.52
Indigo (survey)
#380282
ΔE00 3.95
Midnight Blue
#191970
ΔE00 3.96
Darkblue
#00008B
ΔE00 4.07
Navy
#000080
ΔE00 4.44
Cobalt Blue
#030AA7
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261786 #778617
analogous
#173F86 #261786 #5D1786
triadic
#261786 #862617 #178626
tetradic
#261786 #86173F #778617 #17865D
square
#261786 #86173F #778617 #17865D
split-complementary
#261786 #865D17 #3F8617
monochromatic
#08051E #170E52 #261786 #3520BA #503ADD
Accessibility & contrast
On white
13.56
#261786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#261786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261786
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261786 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261786; /* rgb */ color: rgb(38, 23, 134); /* oklch */ color: oklch(32.0% 0.170 276.9);
Tailwind
colors: {
custom: {
50: '#7158aa',
500: '#261786',
950: '#000000',
},
}SCSS
$custom: #261786; $custom-light: #7158aa; $custom-dark: #000000;
JSON
{
"hex": "#261786",
"rgb": {
"r": 38,
"g": 23,
"b": 134
},
"hsl": {
"h": 248.108,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.32016,
"c": 0.17005,
"h": 276.9
},
"luminance": 0.02746
}Semantic roles & 50–950 ramp
primary
#261786
secondary
#A9BA3F
accent
#ED3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F