#261B82#261B82
#261B82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.161 H 277.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #261B82 |
|---|---|
| RGB | rgb(38, 27, 130) |
| HSL | hsl(246, 66%, 31%) |
| HSV | hsv(246, 79%, 51%) |
| CMYK | cmyk(70.8%, 79.2%, 0%, 49%) |
| CIE-LAB | lab(19.25, 38.09, -55.47) |
| CIE-LCH | lch(19.25, 67.28, 304.48°) |
| OKLab | oklab(32.06% 0.0195 -0.1603) |
| OKLCH | oklch(32.06% 0.161 277) |
| XYZ | xyz(5.2192, 2.8072, 21.3816) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.08
Midnight Blue
#191970
ΔE00 3.21
Indigo (survey)
#380282
ΔE00 4.71
Darkblue
#00008B
ΔE00 4.98
Navy
#000080
ΔE00 5.15
Dark Royal Blue
#02066F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261B82 #77821B
analogous
#1B4382 #261B82 #591B82
triadic
#261B82 #82261B #1B8226
tetradic
#261B82 #821B43 #77821B #1B8259
square
#261B82 #821B43 #77821B #1B8259
split-complementary
#261B82 #82591B #43821B
monochromatic
#08061D #17104F #261B82 #3526B5 #5040D7
Accessibility & contrast
On white
13.45
#261B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#261B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261B82
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261B82 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261b82; /* rgb */ color: rgb(38, 27, 130); /* oklch */ color: oklch(32.1% 0.161 277.0);
Tailwind
colors: {
custom: {
50: '#6f5aa7',
500: '#261b82',
950: '#000000',
},
}SCSS
$custom: #261b82; $custom-light: #6f5aa7; $custom-dark: #000000;
JSON
{
"hex": "#261b82",
"rgb": {
"r": 38,
"g": 27,
"b": 130
},
"hsl": {
"h": 246.408,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.32061,
"c": 0.16148,
"h": 277
},
"luminance": 0.02808
}Semantic roles & 50–950 ramp
primary
#261B82
secondary
#A9B643
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F