#2E25A3#2E25A3
#2E25A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.191 H 275.2°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E25A3 |
|---|---|
| RGB | rgb(46, 37, 163) |
| HSL | hsl(244, 63%, 39%) |
| HSV | hsv(244, 77%, 64%) |
| CMYK | cmyk(71.8%, 77.3%, 0%, 36.1%) |
| CIE-LAB | lab(25.40, 44.22, -65.72) |
| CIE-LCH | lch(25.40, 79.21, 303.94°) |
| OKLab | oklab(37.62% 0.0175 -0.19) |
| OKLCH | oklch(37.62% 0.191 275.2) |
| XYZ | xyz(8.3970, 4.5475, 35.0785) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 4.40
Cobalt Blue
#030AA7
ΔE00 4.86
Ultramarine
#2000B1
ΔE00 5.15
Royal Blue (survey)
#0504AA
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E25A3 #9AA325
analogous
#255BA3 #2E25A3 #6D25A3
triadic
#2E25A3 #A32E25 #25A32E
tetradic
#2E25A3 #A3255B #9AA325 #25A36D
square
#2E25A3 #A3255B #9AA325 #25A36D
split-complementary
#2E25A3 #A36D25 #5BA325
monochromatic
#120E3F #201A71 #2E25A3 #3F34D1 #6F66DC
Accessibility & contrast
On white
11.00
#2E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E25A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E25A3
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E25A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E25A3 | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e25a3; /* rgb */ color: rgb(46, 37, 163); /* oklch */ color: oklch(37.6% 0.191 275.2);
Tailwind
colors: {
custom: {
50: '#7962c0',
500: '#2e25a3',
950: '#000000',
},
}SCSS
$custom: #2e25a3; $custom-light: #7962c0; $custom-dark: #000000;
JSON
{
"hex": "#2e25a3",
"rgb": {
"r": 46,
"g": 37,
"b": 163
},
"hsl": {
"h": 244.286,
"s": 63,
"l": 39.216
},
"oklch": {
"l": 0.37616,
"c": 0.19083,
"h": 275.2
},
"luminance": 0.04548
}Semantic roles & 50–950 ramp
primary
#2E25A3
secondary
#BBC262
accent
#E642DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981