#261F7C#261F7C
#261F7C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.150 H 277.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #261F7C |
|---|---|
| RGB | rgb(38, 31, 124) |
| HSL | hsl(245, 60%, 30%) |
| HSV | hsv(245, 75%, 49%) |
| CMYK | cmyk(69.4%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(19.42, 33.75, -51.38) |
| CIE-LCH | lch(19.42, 61.48, 303.30°) |
| OKLab | oklab(31.98% 0.0185 -0.1484) |
| OKLCH | oklch(31.98% 0.15 277.1) |
| XYZ | xyz(4.9262, 2.8469, 19.3548) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 4.27
Dark Royal Blue
#02066F
ΔE00 5.82
Indigo (survey)
#380282
ΔE00 5.86
Deep Blue
#040273
ΔE00 6.19
Navy
#000080
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261F7C #757C1F
analogous
#1F467C #261F7C #541F7C
triadic
#261F7C #7C261F #1F7C26
tetradic
#261F7C #7C1F46 #757C1F #1F7C54
square
#261F7C #7C1F46 #757C1F #1F7C54
split-complementary
#261F7C #7C541F #467C1F
monochromatic
#08071A #17134B #261F7C #352BAD #4F45D0
Accessibility & contrast
On white
13.38
#261F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#261F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261F7C
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261F7C | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #261f7c; /* rgb */ color: rgb(38, 31, 124); /* oklch */ color: oklch(32.0% 0.150 277.1);
Tailwind
colors: {
custom: {
50: '#6d5ca3',
500: '#261f7c',
950: '#000000',
},
}SCSS
$custom: #261f7c; $custom-light: #6d5ca3; $custom-dark: #000000;
JSON
{
"hex": "#261f7c",
"rgb": {
"r": 38,
"g": 31,
"b": 124
},
"hsl": {
"h": 244.516,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.31983,
"c": 0.14958,
"h": 277.1
},
"luminance": 0.02847
}Semantic roles & 50–950 ramp
primary
#261F7C
secondary
#A7AF48
accent
#E345D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F