#261F7D#261F7D
#261F7D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.151 H 277.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #261F7D |
|---|---|
| RGB | rgb(38, 31, 125) |
| HSL | hsl(244, 60%, 31%) |
| HSV | hsv(244, 75%, 49%) |
| CMYK | cmyk(69.6%, 75.2%, 0%, 51%) |
| CIE-LAB | lab(19.52, 34.09, -51.85) |
| CIE-LCH | lch(19.52, 62.05, 303.33°) |
| OKLab | oklab(32.09% 0.0183 -0.1498) |
| OKLCH | oklch(32.09% 0.151 277) |
| XYZ | xyz(4.9898, 2.8723, 19.6895) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.62
Royal
#0C1793
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 5.80
Dark Royal Blue
#02066F
ΔE00 5.84
Navy
#000080
ΔE00 6.17
Darkblue
#00008B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F7D #767D1F
analogous
#1F477D #261F7D #551F7D
triadic
#261F7D #7D261F #1F7D26
tetradic
#261F7D #7D1F47 #767D1F #1F7D55
square
#261F7D #7D1F47 #767D1F #1F7D55
split-complementary
#261F7D #7D551F #477D1F
monochromatic
#08071B #17134C #261F7D #352BAE #5045D1
Accessibility & contrast
On white
13.34
#261F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#261F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F7D
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F7D | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261f7d; /* rgb */ color: rgb(38, 31, 125); /* oklch */ color: oklch(32.1% 0.151 277.0);
Tailwind
colors: {
custom: {
50: '#6e5ca4',
500: '#261f7d',
950: '#000000',
},
}SCSS
$custom: #261f7d; $custom-light: #6e5ca4; $custom-dark: #000000;
JSON
{
"hex": "#261f7d",
"rgb": {
"r": 38,
"g": 31,
"b": 125
},
"hsl": {
"h": 244.468,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.3209,
"c": 0.15089,
"h": 277
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#261F7D
secondary
#A8B048
accent
#E344D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F