#261998#261998
#261998 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.190 H 274.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #261998 |
|---|---|
| RGB | rgb(38, 25, 152) |
| HSL | hsl(246, 72%, 35%) |
| HSV | hsv(246, 84%, 60%) |
| CMYK | cmyk(75%, 83.6%, 0%, 40.4%) |
| CIE-LAB | lab(21.48, 46.14, -65.51) |
| CIE-LCH | lch(21.48, 80.12, 305.16°) |
| OKLab | oklab(34.37% 0.0144 -0.1894) |
| OKLCH | oklch(34.37% 0.19 274.4) |
| XYZ | xyz(6.8126, 3.3736, 29.9918) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.98
Cobalt Blue
#030AA7
ΔE00 3.01
Royal Blue (survey)
#0504AA
ΔE00 3.51
Ultramarine
#2000B1
ΔE00 4.01
Indigo Blue
#3A18B1
ΔE00 4.12
Darkblue
#00008B
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#261998 #8B9819
analogous
#194B98 #261998 #661998
triadic
#261998 #982619 #199826
tetradic
#261998 #98194B #8B9819 #199866
square
#261998 #98194B #8B9819 #199866
split-complementary
#261998 #986619 #4B9819
monochromatic
#0C082F #191063 #261998 #3322CD #5A4AE1
Accessibility & contrast
On white
12.54
#261998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#261998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #261998
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##261998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##261998 | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #261998; /* rgb */ color: rgb(38, 25, 152); /* oklch */ color: oklch(34.4% 0.190 274.4);
Tailwind
colors: {
custom: {
50: '#755ab8',
500: '#261998',
950: '#000000',
},
}SCSS
$custom: #261998; $custom-light: #755ab8; $custom-dark: #000000;
JSON
{
"hex": "#261998",
"rgb": {
"r": 38,
"g": 25,
"b": 152
},
"hsl": {
"h": 246.142,
"s": 71.751,
"l": 34.706
},
"oklch": {
"l": 0.34365,
"c": 0.18997,
"h": 274.4
},
"luminance": 0.03374
}Semantic roles & 50–950 ramp
primary
#261998
secondary
#B7C34A
accent
#EE39DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981