#2B2294#2B2294
#2B2294 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.176 H 276.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2294 |
|---|---|
| RGB | rgb(43, 34, 148) |
| HSL | hsl(245, 63%, 36%) |
| HSV | hsv(245, 77%, 58%) |
| CMYK | cmyk(70.9%, 77%, 0%, 42%) |
| CIE-LAB | lab(22.98, 40.67, -60.54) |
| CIE-LCH | lch(22.98, 72.94, 303.89°) |
| OKLab | oklab(35.37% 0.0184 -0.175) |
| OKLCH | oklch(35.37% 0.176 276) |
| XYZ | xyz(6.9118, 3.7951, 28.3795) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.06
Indigo Blue
#3A18B1
ΔE00 4.76
Cobalt Blue
#030AA7
ΔE00 4.83
Royal Blue (survey)
#0504AA
ΔE00 5.35
Ultramarine
#2000B1
ΔE00 5.70
Midnight Blue
#191970
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2294 #8B9422
analogous
#225294 #2B2294 #642294
triadic
#2B2294 #942B22 #22942B
tetradic
#2B2294 #942252 #8B9422 #229464
square
#2B2294 #942252 #8B9422 #229464
split-complementary
#2B2294 #946422 #529422
monochromatic
#0E0B30 #1D1762 #2B2294 #392DC6 #6258D9
Accessibility & contrast
On white
11.94
#2B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2B2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2294
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2294 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b2294; /* rgb */ color: rgb(43, 34, 148); /* oklch */ color: oklch(35.4% 0.176 276.0);
Tailwind
colors: {
custom: {
50: '#755fb5',
500: '#2b2294',
950: '#000000',
},
}SCSS
$custom: #2b2294; $custom-light: #755fb5; $custom-dark: #000000;
JSON
{
"hex": "#2b2294",
"rgb": {
"r": 43,
"g": 34,
"b": 148
},
"hsl": {
"h": 244.737,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.35372,
"c": 0.17598,
"h": 276
},
"luminance": 0.03796
}Semantic roles & 50–950 ramp
primary
#2B2294
secondary
#B5BD55
accent
#E642D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980