#261B7E#261B7E
#261B7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.156 H 277.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #261B7E |
|---|---|
| RGB | rgb(38, 27, 126) |
| HSL | hsl(247, 65%, 30%) |
| HSV | hsv(247, 79%, 49%) |
| CMYK | cmyk(69.8%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(18.81, 36.76, -53.67) |
| CIE-LCH | lch(18.81, 65.05, 304.41°) |
| OKLab | oklab(31.62% 0.0206 -0.155) |
| OKLCH | oklch(31.62% 0.156 277.6) |
| XYZ | xyz(4.9559, 2.7019, 19.9950) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Royal
#0C1793
ΔE00 3.62
Indigo (survey)
#380282
ΔE00 4.83
Dark Royal Blue
#02066F
ΔE00 5.12
Navy
#000080
ΔE00 5.23
Darkblue
#00008B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261B7E #737E1B
analogous
#1B417E #261B7E #581B7E
triadic
#261B7E #7E261B #1B7E26
tetradic
#261B7E #7E1B41 #737E1B #1B7E58
square
#261B7E #7E1B41 #737E1B #1B7E58
split-complementary
#261B7E #7E581B #417E1B
monochromatic
#080519 #17104C #261B7E #3526B0 #4F3ED6
Accessibility & contrast
On white
13.63
#261B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#261B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261B7E
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261B7E | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #261b7e; /* rgb */ color: rgb(38, 27, 126); /* oklch */ color: oklch(31.6% 0.156 277.6);
Tailwind
colors: {
custom: {
50: '#6e5aa4',
500: '#261b7e',
950: '#000000',
},
}SCSS
$custom: #261b7e; $custom-light: #6e5aa4; $custom-dark: #000000;
JSON
{
"hex": "#261b7e",
"rgb": {
"r": 38,
"g": 27,
"b": 126
},
"hsl": {
"h": 246.667,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31615,
"c": 0.15641,
"h": 277.6
},
"luminance": 0.02702
}Semantic roles & 50–950 ramp
primary
#261B7E
secondary
#A6B243
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F