#261C7B#261C7B
#261C7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.152 H 277.8°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #261C7B |
|---|---|
| RGB | rgb(38, 28, 123) |
| HSL | hsl(246, 63%, 30%) |
| HSV | hsv(246, 77%, 48%) |
| CMYK | cmyk(69.1%, 77.2%, 0%, 51.8%) |
| CIE-LAB | lab(18.68, 35.19, -51.97) |
| CIE-LCH | lch(18.68, 62.76, 304.10°) |
| OKLab | oklab(31.43% 0.0207 -0.1501) |
| OKLCH | oklch(31.43% 0.152 277.8) |
| XYZ | xyz(4.7886, 2.6722, 18.9985) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.28
Royal
#0C1793
ΔE00 4.12
Dark Royal Blue
#02066F
ΔE00 5.18
Indigo (survey)
#380282
ΔE00 5.20
Deep Blue
#040273
ΔE00 5.51
Navy
#000080
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261C7B #717B1C
analogous
#1C417B #261C7B #561C7B
triadic
#261C7B #7B261C #1C7B26
tetradic
#261C7B #7B1C41 #717B1C #1C7B56
square
#261C7B #7B1C41 #717B1C #1C7B56
split-complementary
#261C7B #7B561C #417B1C
monochromatic
#080619 #171149 #261C7B #3527AD #4E3ED3
Accessibility & contrast
On white
13.68
#261C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#261C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261C7B
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261C7B | 1.00 | 13.68 | 1.53 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #261c7b; /* rgb */ color: rgb(38, 28, 123); /* oklch */ color: oklch(31.4% 0.152 277.8);
Tailwind
colors: {
custom: {
50: '#6d5aa2',
500: '#261c7b',
950: '#000000',
},
}SCSS
$custom: #261c7b; $custom-light: #6d5aa2; $custom-dark: #000000;
JSON
{
"hex": "#261c7b",
"rgb": {
"r": 38,
"g": 28,
"b": 123
},
"hsl": {
"h": 246.316,
"s": 62.914,
"l": 29.608
},
"oklch": {
"l": 0.31427,
"c": 0.15152,
"h": 277.8
},
"luminance": 0.02673
}Semantic roles & 50–950 ramp
primary
#261C7B
secondary
#A4AF44
accent
#E642D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F