#2B25A6#2B25A6
#2B25A6 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.195 H 273.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2B25A6 |
|---|---|
| RGB | rgb(43, 37, 166) |
| HSL | hsl(243, 64%, 40%) |
| HSV | hsv(243, 78%, 65%) |
| CMYK | cmyk(74.1%, 77.7%, 0%, 34.9%) |
| CIE-LAB | lab(25.53, 44.92, -67.34) |
| CIE-LCH | lch(25.53, 80.95, 303.71°) |
| OKLab | oklab(37.75% 0.0129 -0.1948) |
| OKLCH | oklch(37.75% 0.195 273.8) |
| XYZ | xyz(8.5385, 4.5890, 36.5048) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.22
Royal
#0C1793
ΔE00 4.49
Cobalt Blue
#030AA7
ΔE00 4.76
Ultramarine
#2000B1
ΔE00 5.03
Royal Blue (survey)
#0504AA
ΔE00 5.17
True Blue
#010FCC
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B25A6 #A0A625
analogous
#255FA6 #2B25A6 #6C25A6
triadic
#2B25A6 #A62B25 #25A62B
tetradic
#2B25A6 #A6255F #A0A625 #25A66C
square
#2B25A6 #A6255F #A0A625 #25A66C
split-complementary
#2B25A6 #A66C25 #5FA625
monochromatic
#110F42 #1E1A74 #2B25A6 #3D36D2 #6E68DD
Accessibility & contrast
On white
10.95
#2B25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B25A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B25A6
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B25A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B25A6 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 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: #2b25a6; /* rgb */ color: rgb(43, 37, 166); /* oklch */ color: oklch(37.7% 0.195 273.8);
Tailwind
colors: {
custom: {
50: '#7962c2',
500: '#2b25a6',
950: '#000000',
},
}SCSS
$custom: #2b25a6; $custom-light: #7962c2; $custom-dark: #000000;
JSON
{
"hex": "#2b25a6",
"rgb": {
"r": 43,
"g": 37,
"b": 166
},
"hsl": {
"h": 242.791,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.37749,
"c": 0.19523,
"h": 273.8
},
"luminance": 0.0459
}Semantic roles & 50–950 ramp
primary
#2B25A6
secondary
#BFC364
accent
#E741DF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982