#261C79#261C79
#261C79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.149 H 278.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #261C79 |
|---|---|
| RGB | rgb(38, 28, 121) |
| HSL | hsl(246, 62%, 29%) |
| HSV | hsv(246, 77%, 47%) |
| CMYK | cmyk(68.6%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(18.46, 34.51, -51.04) |
| CIE-LCH | lch(18.46, 61.61, 304.06°) |
| OKLab | oklab(31.21% 0.0212 -0.1474) |
| OKLCH | oklch(31.21% 0.149 278.2) |
| XYZ | xyz(4.6647, 2.6227, 18.3459) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.06
Royal
#0C1793
ΔE00 4.42
Dark Royal Blue
#02066F
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 5.33
Deep Blue
#040273
ΔE00 5.51
Navy
#000080
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C79 #6F791C
analogous
#1C4179 #261C79 #551C79
triadic
#261C79 #79261C #1C7926
tetradic
#261C79 #791C41 #6F791C #1C7955
square
#261C79 #791C41 #6F791C #1C7955
split-complementary
#261C79 #79551C #41791C
monochromatic
#080619 #161047 #261C79 #3628AB #4D3DD2
Accessibility & contrast
On white
13.77
#261C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#261C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C79
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C79 | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #261c79; /* rgb */ color: rgb(38, 28, 121); /* oklch */ color: oklch(31.2% 0.149 278.2);
Tailwind
colors: {
custom: {
50: '#6d5aa1',
500: '#261c79',
950: '#000000',
},
}SCSS
$custom: #261c79; $custom-light: #6d5aa1; $custom-dark: #000000;
JSON
{
"hex": "#261c79",
"rgb": {
"r": 38,
"g": 28,
"b": 121
},
"hsl": {
"h": 246.452,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.3121,
"c": 0.14892,
"h": 278.2
},
"luminance": 0.02623
}Semantic roles & 50–950 ramp
primary
#261C79
secondary
#A2AD44
accent
#E542D4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F