#261C7D#261C7D
#261C7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.154 H 277.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #261C7D |
|---|---|
| RGB | rgb(38, 28, 125) |
| HSL | hsl(246, 63%, 30%) |
| HSV | hsv(246, 78%, 49%) |
| CMYK | cmyk(69.6%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(18.90, 35.86, -52.88) |
| CIE-LCH | lch(18.90, 63.89, 304.14°) |
| OKLab | oklab(31.65% 0.0202 -0.1528) |
| OKLCH | oklch(31.65% 0.154 277.5) |
| XYZ | xyz(4.9151, 2.7228, 19.6646) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 5.10
Dark Royal Blue
#02066F
ΔE00 5.25
Navy
#000080
ΔE00 5.48
Darkblue
#00008B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C7D #737D1C
analogous
#1C427D #261C7D #571C7D
triadic
#261C7D #7D261C #1C7D26
tetradic
#261C7D #7D1C42 #737D1C #1C7D57
square
#261C7D #7D1C42 #737D1C #1C7D57
split-complementary
#261C7D #7D571C #427D1C
monochromatic
#080619 #17114B #261C7D #3527AF #4F3FD4
Accessibility & contrast
On white
13.60
#261C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#261C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C7D
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C7D | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261c7d; /* rgb */ color: rgb(38, 28, 125); /* oklch */ color: oklch(31.6% 0.154 277.5);
Tailwind
colors: {
custom: {
50: '#6e5aa4',
500: '#261c7d',
950: '#000000',
},
}SCSS
$custom: #261c7d; $custom-light: #6e5aa4; $custom-dark: #000000;
JSON
{
"hex": "#261c7d",
"rgb": {
"r": 38,
"g": 28,
"b": 125
},
"hsl": {
"h": 246.186,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31646,
"c": 0.1541,
"h": 277.5
},
"luminance": 0.02723
}Semantic roles & 50–950 ramp
primary
#261C7D
secondary
#A6B144
accent
#E641D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F