#261B7A#261B7A
#261B7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.151 H 278.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #261B7A |
|---|---|
| RGB | rgb(38, 27, 122) |
| HSL | hsl(247, 64%, 29%) |
| HSV | hsv(247, 78%, 48%) |
| CMYK | cmyk(68.9%, 77.9%, 0%, 52.2%) |
| CIE-LAB | lab(18.37, 35.42, -51.84) |
| CIE-LCH | lch(18.37, 62.79, 304.35°) |
| OKLab | oklab(31.17% 0.0216 -0.1497) |
| OKLCH | oklch(31.17% 0.151 278.2) |
| XYZ | xyz(4.7030, 2.6007, 18.6627) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.18
Royal
#0C1793
ΔE00 4.20
Dark Royal Blue
#02066F
ΔE00 4.97
Indigo (survey)
#380282
ΔE00 5.04
Deep Blue
#040273
ΔE00 5.29
Navy
#000080
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261B7A #6F7A1B
analogous
#1B407A #261B7A #561B7A
triadic
#261B7A #7A261B #1B7A26
tetradic
#261B7A #7A1B40 #6F7A1B #1B7A56
square
#261B7A #7A1B40 #6F7A1B #1B7A56
split-complementary
#261B7A #7A561B #407A1B
monochromatic
#080619 #161048 #261B7A #3626AC #4D3CD4
Accessibility & contrast
On white
13.81
#261B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#261B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261B7A
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261B7A | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #261b7a; /* rgb */ color: rgb(38, 27, 122); /* oklch */ color: oklch(31.2% 0.151 278.2);
Tailwind
colors: {
custom: {
50: '#6d59a1',
500: '#261b7a',
950: '#000000',
},
}SCSS
$custom: #261b7a; $custom-light: #6d59a1; $custom-dark: #000000;
JSON
{
"hex": "#261b7a",
"rgb": {
"r": 38,
"g": 27,
"b": 122
},
"hsl": {
"h": 246.947,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.31174,
"c": 0.15127,
"h": 278.2
},
"luminance": 0.02601
}Semantic roles & 50–950 ramp
primary
#261B7A
secondary
#A2AE43
accent
#E741D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F