#262181#262181
#262181 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.154 H 276.0°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #262181 |
|---|---|
| RGB | rgb(38, 33, 129) |
| HSL | hsl(243, 59%, 32%) |
| HSV | hsv(243, 74%, 51%) |
| CMYK | cmyk(70.5%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(20.38, 34.27, -52.98) |
| CIE-LCH | lch(20.38, 63.10, 302.90°) |
| OKLab | oklab(32.82% 0.0162 -0.1531) |
| OKLCH | oklch(32.82% 0.154 276) |
| XYZ | xyz(5.3043, 3.0843, 21.0804) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.26
Royal
#0C1793
ΔE00 3.87
Indigo (survey)
#380282
ΔE00 6.13
Darkblue
#00008B
ΔE00 6.38
Dark Royal Blue
#02066F
ΔE00 6.40
Navy
#000080
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262181 #7C8121
analogous
#214C81 #262181 #562181
triadic
#262181 #812621 #218126
tetradic
#262181 #81214C #7C8121 #218156
square
#262181 #81214C #7C8121 #218156
split-complementary
#262181 #815621 #4C8121
monochromatic
#090820 #181550 #262181 #342DB2 #524BD1
Accessibility & contrast
On white
12.99
#262181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#262181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262181
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262181 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #262181; /* rgb */ color: rgb(38, 33, 129); /* oklch */ color: oklch(32.8% 0.154 276.0);
Tailwind
colors: {
custom: {
50: '#6e5da7',
500: '#262181',
950: '#000000',
},
}SCSS
$custom: #262181; $custom-light: #6e5da7; $custom-dark: #000000;
JSON
{
"hex": "#262181",
"rgb": {
"r": 38,
"g": 33,
"b": 129
},
"hsl": {
"h": 243.125,
"s": 59.259,
"l": 31.765
},
"oklch": {
"l": 0.32824,
"c": 0.15394,
"h": 276
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#262181
secondary
#AEB44A
accent
#E245DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F