#261B8C#261B8C
#261B8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.174 H 275.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #261B8C |
|---|---|
| RGB | rgb(38, 27, 140) |
| HSL | hsl(246, 68%, 33%) |
| HSV | hsv(246, 81%, 55%) |
| CMYK | cmyk(72.9%, 80.7%, 0%, 45.1%) |
| CIE-LAB | lab(20.40, 41.35, -59.86) |
| CIE-LCH | lch(20.40, 72.76, 304.64°) |
| OKLab | oklab(33.2% 0.0169 -0.1731) |
| OKLCH | oklch(33.2% 0.174 275.6) |
| XYZ | xyz(5.9233, 3.0888, 25.0899) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.06
Cobalt Blue
#030AA7
ΔE00 4.45
Midnight Blue
#191970
ΔE00 4.60
Darkblue
#00008B
ΔE00 4.70
Indigo (survey)
#380282
ΔE00 4.77
Royal Blue (survey)
#0504AA
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261B8C #818C1B
analogous
#1B488C #261B8C #5F1B8C
triadic
#261B8C #8C261B #1B8C26
tetradic
#261B8C #8C1B48 #818C1B #1B8C5F
square
#261B8C #8C1B48 #818C1B #1B8C5F
split-complementary
#261B8C #8C5F1B #488C1B
monochromatic
#0A0725 #181159 #261B8C #3425BF #5546DB
Accessibility & contrast
On white
12.98
#261B8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#261B8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261B8C
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261B8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261B8C | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #261b8c; /* rgb */ color: rgb(38, 27, 140); /* oklch */ color: oklch(33.2% 0.174 275.6);
Tailwind
colors: {
custom: {
50: '#725aaf',
500: '#261b8c',
950: '#000000',
},
}SCSS
$custom: #261b8c; $custom-light: #725aaf; $custom-dark: #000000;
JSON
{
"hex": "#261b8c",
"rgb": {
"r": 38,
"g": 27,
"b": 140
},
"hsl": {
"h": 245.841,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.33197,
"c": 0.17391,
"h": 275.6
},
"luminance": 0.03089
}Semantic roles & 50–950 ramp
primary
#261B8C
secondary
#B1BD46
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980