#261A7F#261A7F
#261A7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.159 H 277.6°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #261A7F |
|---|---|
| RGB | rgb(38, 26, 127) |
| HSL | hsl(247, 66%, 30%) |
| HSV | hsv(247, 80%, 50%) |
| CMYK | cmyk(70.1%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(18.73, 37.65, -54.44) |
| CIE-LCH | lch(18.73, 66.19, 304.67°) |
| OKLab | oklab(31.59% 0.0209 -0.1573) |
| OKLCH | oklch(31.59% 0.159 277.6) |
| XYZ | xyz(4.9982, 2.6827, 20.3290) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Royal
#0C1793
ΔE00 3.43
Indigo (survey)
#380282
ΔE00 4.59
Darkblue
#00008B
ΔE00 4.97
Navy
#000080
ΔE00 5.00
Dark Royal Blue
#02066F
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261A7F #737F1A
analogous
#1A407F #261A7F #591A7F
triadic
#261A7F #7F261A #1A7F26
tetradic
#261A7F #7F1A40 #737F1A #1A7F59
square
#261A7F #7F1A40 #737F1A #1A7F59
split-complementary
#261A7F #7F591A #407F1A
monochromatic
#080519 #17104C #261A7F #3524B2 #4F3CD7
Accessibility & contrast
On white
13.67
#261A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#261A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261A7F
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261A7F | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261a7f; /* rgb */ color: rgb(38, 26, 127); /* oklch */ color: oklch(31.6% 0.159 277.6);
Tailwind
colors: {
custom: {
50: '#6f59a5',
500: '#261a7f',
950: '#000000',
},
}SCSS
$custom: #261a7f; $custom-light: #6f59a5; $custom-dark: #000000;
JSON
{
"hex": "#261a7f",
"rgb": {
"r": 38,
"g": 26,
"b": 127
},
"hsl": {
"h": 247.129,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.3159,
"c": 0.15866,
"h": 277.6
},
"luminance": 0.02683
}Semantic roles & 50–950 ramp
primary
#261A7F
secondary
#A6B342
accent
#E93FD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F