#261B98#261B98
#261B98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.188 H 274.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #261B98 |
|---|---|
| RGB | rgb(38, 27, 152) |
| HSL | hsl(245, 70%, 35%) |
| HSV | hsv(245, 82%, 60%) |
| CMYK | cmyk(75%, 82.2%, 0%, 40.4%) |
| CIE-LAB | lab(21.81, 45.18, -64.97) |
| CIE-LCH | lch(21.81, 79.13, 304.82°) |
| OKLab | oklab(34.59% 0.0137 -0.1879) |
| OKLCH | oklch(34.59% 0.188 274.2) |
| XYZ | xyz(6.8569, 3.4622, 30.0066) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.04
Cobalt Blue
#030AA7
ΔE00 3.27
Royal Blue (survey)
#0504AA
ΔE00 3.78
Indigo Blue
#3A18B1
ΔE00 4.13
Ultramarine
#2000B1
ΔE00 4.25
Darkblue
#00008B
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261B98 #8D981B
analogous
#1B4E98 #261B98 #641B98
triadic
#261B98 #98261B #1B9826
tetradic
#261B98 #981B4E #8D981B #1B9864
square
#261B98 #981B4E #8D981B #1B9864
split-complementary
#261B98 #98641B #4E981B
monochromatic
#0C0930 #191264 #261B98 #3324CC #5B4EE0
Accessibility & contrast
On white
12.41
#261B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#261B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261B98
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261B98 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #261b98; /* rgb */ color: rgb(38, 27, 152); /* oklch */ color: oklch(34.6% 0.188 274.2);
Tailwind
colors: {
custom: {
50: '#755bb8',
500: '#261b98',
950: '#000000',
},
}SCSS
$custom: #261b98; $custom-light: #755bb8; $custom-dark: #000000;
JSON
{
"hex": "#261b98",
"rgb": {
"r": 38,
"g": 27,
"b": 152
},
"hsl": {
"h": 245.28,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.3459,
"c": 0.18839,
"h": 274.2
},
"luminance": 0.03463
}Semantic roles & 50–950 ramp
primary
#261B98
secondary
#B8C24D
accent
#ED3BDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980