#2A25A6#2A25A6
#2A25A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.195 H 273.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A25A6 |
|---|---|
| RGB | rgb(42, 37, 166) |
| HSL | hsl(242, 64%, 40%) |
| HSV | hsv(242, 78%, 65%) |
| CMYK | cmyk(74.7%, 77.7%, 0%, 34.9%) |
| CIE-LAB | lab(25.47, 44.84, -67.44) |
| CIE-LCH | lch(25.47, 80.99, 303.62°) |
| OKLab | oklab(37.69% 0.0117 -0.1951) |
| OKLCH | oklch(37.69% 0.195 273.4) |
| XYZ | xyz(8.4971, 4.5677, 36.5028) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.28
Royal
#0C1793
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.73
Ultramarine
#2000B1
ΔE00 5.03
Royal Blue (survey)
#0504AA
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A25A6 #A1A625
analogous
#2560A6 #2A25A6 #6B25A6
triadic
#2A25A6 #A62A25 #25A62A
tetradic
#2A25A6 #A62560 #A1A625 #25A66B
square
#2A25A6 #A62560 #A1A625 #25A66B
split-complementary
#2A25A6 #A66B25 #60A625
monochromatic
#110F42 #1D1A74 #2A25A6 #3C36D2 #6D68DD
Accessibility & contrast
On white
10.97
#2A25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2A25A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A25A6
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A25A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A25A6 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0036A4
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a25a6; /* rgb */ color: rgb(42, 37, 166); /* oklch */ color: oklch(37.7% 0.195 273.4);
Tailwind
colors: {
custom: {
50: '#7962c2',
500: '#2a25a6',
950: '#000000',
},
}SCSS
$custom: #2a25a6; $custom-light: #7962c2; $custom-dark: #000000;
JSON
{
"hex": "#2a25a6",
"rgb": {
"r": 42,
"g": 37,
"b": 166
},
"hsl": {
"h": 242.326,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.37686,
"c": 0.19549,
"h": 273.4
},
"luminance": 0.04569
}Semantic roles & 50–950 ramp
primary
#2A25A6
secondary
#C0C364
accent
#E741E0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982