#2E26A0#2E26A0
#2E26A0 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.186 H 275.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2E26A0 |
|---|---|
| RGB | rgb(46, 38, 160) |
| HSL | hsl(244, 62%, 39%) |
| HSV | hsv(244, 76%, 63%) |
| CMYK | cmyk(71.2%, 76.3%, 0%, 37.3%) |
| CIE-LAB | lab(25.27, 42.70, -64.11) |
| CIE-LCH | lch(25.27, 77.03, 303.66°) |
| OKLab | oklab(37.43% 0.0176 -0.1854) |
| OKLCH | oklch(37.43% 0.186 275.4) |
| XYZ | xyz(8.1629, 4.5044, 33.6901) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.72
Royal
#0C1793
ΔE00 4.33
Cobalt Blue
#030AA7
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.34
Ultramarine
#2000B1
ΔE00 5.51
Royal Blue (survey)
#0504AA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E26A0 #98A026
analogous
#265BA0 #2E26A0 #6B26A0
triadic
#2E26A0 #A02E26 #26A02E
tetradic
#2E26A0 #A0265B #98A026 #26A06B
square
#2E26A0 #A0265B #98A026 #26A06B
split-complementary
#2E26A0 #A06B26 #5BA026
monochromatic
#120F3D #201A6F #2E26A0 #3E34CF #6D66DB
Accessibility & contrast
On white
11.05
#2E26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E26A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E26A0
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E26A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E26A0 | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e26a0; /* rgb */ color: rgb(46, 38, 160); /* oklch */ color: oklch(37.4% 0.186 275.4);
Tailwind
colors: {
custom: {
50: '#7963bd',
500: '#2e26a0',
950: '#000000',
},
}SCSS
$custom: #2e26a0; $custom-light: #7963bd; $custom-dark: #000000;
JSON
{
"hex": "#2e26a0",
"rgb": {
"r": 46,
"g": 38,
"b": 160
},
"hsl": {
"h": 243.934,
"s": 61.616,
"l": 38.824
},
"oklch": {
"l": 0.37428,
"c": 0.1862,
"h": 275.4
},
"luminance": 0.04505
}Semantic roles & 50–950 ramp
primary
#2E26A0
secondary
#BAC061
accent
#E543DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81