#261C7E#261C7E
#261C7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.155 H 277.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #261C7E |
|---|---|
| RGB | rgb(38, 28, 126) |
| HSL | hsl(246, 64%, 30%) |
| HSV | hsv(246, 78%, 49%) |
| CMYK | cmyk(69.8%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.01, 36.20, -53.34) |
| CIE-LCH | lch(19.01, 64.46, 304.16°) |
| OKLab | oklab(31.76% 0.02 -0.1541) |
| OKLCH | oklch(31.76% 0.155 277.4) |
| XYZ | xyz(4.9793, 2.7485, 20.0027) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.65
Royal
#0C1793
ΔE00 3.69
Indigo (survey)
#380282
ΔE00 5.05
Dark Royal Blue
#02066F
ΔE00 5.29
Navy
#000080
ΔE00 5.44
Darkblue
#00008B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C7E #747E1C
analogous
#1C437E #261C7E #571C7E
triadic
#261C7E #7E261C #1C7E26
tetradic
#261C7E #7E1C43 #747E1C #1C7E57
square
#261C7E #7E1C43 #747E1C #1C7E57
split-complementary
#261C7E #7E571C #437E1C
monochromatic
#08061A #17114C #261C7E #3527B0 #4F40D5
Accessibility & contrast
On white
13.55
#261C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#261C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C7E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C7E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261c7e; /* rgb */ color: rgb(38, 28, 126); /* oklch */ color: oklch(31.8% 0.155 277.4);
Tailwind
colors: {
custom: {
50: '#6e5aa4',
500: '#261c7e',
950: '#000000',
},
}SCSS
$custom: #261c7e; $custom-light: #6e5aa4; $custom-dark: #000000;
JSON
{
"hex": "#261c7e",
"rgb": {
"r": 38,
"g": 28,
"b": 126
},
"hsl": {
"h": 246.122,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.31755,
"c": 0.15539,
"h": 277.4
},
"luminance": 0.02749
}Semantic roles & 50–950 ramp
primary
#261C7E
secondary
#A6B244
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F