#261C7F#261C7F
#261C7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.157 H 277.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #261C7F |
|---|---|
| RGB | rgb(38, 28, 127) |
| HSL | hsl(246, 64%, 30%) |
| HSV | hsv(246, 78%, 50%) |
| CMYK | cmyk(70.1%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(19.12, 36.53, -53.79) |
| CIE-LCH | lch(19.12, 65.02, 304.18°) |
| OKLab | oklab(31.87% 0.0197 -0.1554) |
| OKLCH | oklch(31.87% 0.157 277.2) |
| XYZ | xyz(5.0441, 2.7744, 20.3443) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.78
Royal
#0C1793
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 5.34
Darkblue
#00008B
ΔE00 5.37
Navy
#000080
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C7F #757F1C
analogous
#1C437F #261C7F #581C7F
triadic
#261C7F #7F261C #1C7F26
tetradic
#261C7F #7F1C43 #757F1C #1C7F58
square
#261C7F #7F1C43 #757F1C #1C7F58
split-complementary
#261C7F #7F581C #437F1C
monochromatic
#08061B #17114D #261C7F #3527B1 #4F40D5
Accessibility & contrast
On white
13.50
#261C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#261C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C7F
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C7F | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261c7f; /* rgb */ color: rgb(38, 28, 127); /* oklch */ color: oklch(31.9% 0.157 277.2);
Tailwind
colors: {
custom: {
50: '#6e5aa5',
500: '#261c7f',
950: '#000000',
},
}SCSS
$custom: #261c7f; $custom-light: #6e5aa5; $custom-dark: #000000;
JSON
{
"hex": "#261c7f",
"rgb": {
"r": 38,
"g": 28,
"b": 127
},
"hsl": {
"h": 246.061,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.31865,
"c": 0.15667,
"h": 277.2
},
"luminance": 0.02775
}Semantic roles & 50–950 ramp
primary
#261C7F
secondary
#A7B344
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F