#261F7B#261F7B
#261F7B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.148 H 277.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #261F7B |
|---|---|
| RGB | rgb(38, 31, 123) |
| HSL | hsl(245, 60%, 30%) |
| HSV | hsv(245, 75%, 48%) |
| CMYK | cmyk(69.1%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(19.32, 33.40, -50.92) |
| CIE-LCH | lch(19.32, 60.90, 303.26°) |
| OKLab | oklab(31.88% 0.0187 -0.1471) |
| OKLCH | oklch(31.88% 0.148 277.3) |
| XYZ | xyz(4.8633, 2.8217, 19.0234) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 4.41
Dark Royal Blue
#02066F
ΔE00 5.80
Indigo (survey)
#380282
ΔE00 5.92
Deep Blue
#040273
ΔE00 6.19
Navy
#000080
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F7B #747B1F
analogous
#1F467B #261F7B #541F7B
triadic
#261F7B #7B261F #1F7B26
tetradic
#261F7B #7B1F46 #747B1F #1F7B54
square
#261F7B #7B1F46 #747B1F #1F7B54
split-complementary
#261F7B #7B541F #467B1F
monochromatic
#080619 #17134A #261F7B #352BAC #4F44D0
Accessibility & contrast
On white
13.42
#261F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#261F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F7B
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F7B | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261f7b; /* rgb */ color: rgb(38, 31, 123); /* oklch */ color: oklch(31.9% 0.148 277.3);
Tailwind
colors: {
custom: {
50: '#6d5ca2',
500: '#261f7b',
950: '#000000',
},
}SCSS
$custom: #261f7b; $custom-light: #6d5ca2; $custom-dark: #000000;
JSON
{
"hex": "#261f7b",
"rgb": {
"r": 38,
"g": 31,
"b": 123
},
"hsl": {
"h": 244.565,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.31877,
"c": 0.14826,
"h": 277.3
},
"luminance": 0.02822
}Semantic roles & 50–950 ramp
primary
#261F7B
secondary
#A6AE48
accent
#E345D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F