#261D7C#261D7C
#261D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.152 H 277.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #261D7C |
|---|---|
| RGB | rgb(38, 29, 124) |
| HSL | hsl(246, 62%, 30%) |
| HSV | hsv(246, 77%, 49%) |
| CMYK | cmyk(69.4%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(18.99, 34.94, -52.08) |
| CIE-LCH | lch(18.99, 62.72, 303.86°) |
| OKLab | oklab(31.68% 0.0198 -0.1505) |
| OKLCH | oklch(31.68% 0.152 277.5) |
| XYZ | xyz(4.8756, 2.7456, 19.3379) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 5.38
Dark Royal Blue
#02066F
ΔE00 5.41
Deep Blue
#040273
ΔE00 5.73
Navy
#000080
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261D7C #737C1D
analogous
#1D447C #261D7C #551D7C
triadic
#261D7C #7C261D #1D7C26
tetradic
#261D7C #7C1D44 #737C1D #1D7C55
square
#261D7C #7C1D44 #737C1D #1D7C55
split-complementary
#261D7C #7C551D #447C1D
monochromatic
#080619 #17114A #261D7C #3529AE #4F41D3
Accessibility & contrast
On white
13.56
#261D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#261D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261D7C
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261D7C | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261d7c; /* rgb */ color: rgb(38, 29, 124); /* oklch */ color: oklch(31.7% 0.152 277.5);
Tailwind
colors: {
custom: {
50: '#6e5ba3',
500: '#261d7c',
950: '#000000',
},
}SCSS
$custom: #261d7c; $custom-light: #6e5ba3; $custom-dark: #000000;
JSON
{
"hex": "#261d7c",
"rgb": {
"r": 38,
"g": 29,
"b": 124
},
"hsl": {
"h": 245.684,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.31682,
"c": 0.15176,
"h": 277.5
},
"luminance": 0.02746
}Semantic roles & 50–950 ramp
primary
#261D7C
secondary
#A6B045
accent
#E543D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F