#261D7F#261D7F
#261D7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.156 H 277.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #261D7F |
|---|---|
| RGB | rgb(38, 29, 127) |
| HSL | hsl(246, 63%, 31%) |
| HSV | hsv(246, 77%, 50%) |
| CMYK | cmyk(70.1%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.32, 35.96, -53.46) |
| CIE-LCH | lch(19.32, 64.42, 303.93°) |
| OKLab | oklab(32.01% 0.0191 -0.1545) |
| OKLCH | oklch(32.01% 0.156 277.1) |
| XYZ | xyz(5.0682, 2.8227, 20.3523) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.78
Royal
#0C1793
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 5.24
Dark Royal Blue
#02066F
ΔE00 5.52
Darkblue
#00008B
ΔE00 5.59
Navy
#000080
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261D7F #767F1D
analogous
#1D457F #261D7F #571D7F
triadic
#261D7F #7F261D #1D7F26
tetradic
#261D7F #7F1D45 #767F1D #1D7F57
square
#261D7F #7F1D45 #767F1D #1D7F57
split-complementary
#261D7F #7F571D #457F1D
monochromatic
#08061B #17124D #261D7F #3528B1 #5042D4
Accessibility & contrast
On white
13.42
#261D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#261D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261D7F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261D7F | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261d7f; /* rgb */ color: rgb(38, 29, 127); /* oklch */ color: oklch(32.0% 0.156 277.1);
Tailwind
colors: {
custom: {
50: '#6e5ba5',
500: '#261d7f',
950: '#000000',
},
}SCSS
$custom: #261d7f; $custom-light: #6e5ba5; $custom-dark: #000000;
JSON
{
"hex": "#261d7f",
"rgb": {
"r": 38,
"g": 29,
"b": 127
},
"hsl": {
"h": 245.51,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.32008,
"c": 0.15564,
"h": 277.1
},
"luminance": 0.02823
}Semantic roles & 50–950 ramp
primary
#261D7F
secondary
#A8B245
accent
#E642D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F