#261788#261788
#261788 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.172 H 276.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #261788 |
|---|---|
| RGB | rgb(38, 23, 136) |
| HSL | hsl(248, 71%, 31%) |
| HSV | hsv(248, 83%, 53%) |
| CMYK | cmyk(72.1%, 83.1%, 0%, 46.7%) |
| CIE-LAB | lab(19.23, 42.09, -59.28) |
| CIE-LCH | lch(19.23, 72.71, 305.38°) |
| OKLab | oklab(32.25% 0.0198 -0.1713) |
| OKLCH | oklch(32.25% 0.172 276.6) |
| XYZ | xyz(5.5482, 2.8019, 23.5362) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.31
Indigo (survey)
#380282
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.02
Midnight Blue
#191970
ΔE00 4.22
Navy
#000080
ΔE00 4.49
Cobalt Blue
#030AA7
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261788 #798817
analogous
#174088 #261788 #5E1788
triadic
#261788 #882617 #178826
tetradic
#261788 #881740 #798817 #17885E
square
#261788 #881740 #798817 #17885E
split-complementary
#261788 #885E17 #408817
monochromatic
#09051F #170E54 #261788 #3520BC #513BDE
Accessibility & contrast
On white
13.46
#261788 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#261788 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261788
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261788 | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261788; /* rgb */ color: rgb(38, 23, 136); /* oklch */ color: oklch(32.3% 0.172 276.6);
Tailwind
colors: {
custom: {
50: '#7158ac',
500: '#261788',
950: '#000000',
},
}SCSS
$custom: #261788; $custom-light: #7158ac; $custom-dark: #000000;
JSON
{
"hex": "#261788",
"rgb": {
"r": 38,
"g": 23,
"b": 136
},
"hsl": {
"h": 247.965,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.3225,
"c": 0.17248,
"h": 276.6
},
"luminance": 0.02802
}Semantic roles & 50–950 ramp
primary
#261788
secondary
#ABBC3F
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F