#2B2875#2B2875
#2B2875 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.128 H 278.6°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2875 |
|---|---|
| RGB | rgb(43, 40, 117) |
| HSL | hsl(242, 49%, 31%) |
| HSV | hsv(242, 66%, 46%) |
| CMYK | cmyk(63.2%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(21.26, 26.29, -43.88) |
| CIE-LCH | lch(21.26, 51.15, 300.93°) |
| OKLab | oklab(33.21% 0.0191 -0.1263) |
| OKLCH | oklch(33.21% 0.128 278.6) |
| XYZ | xyz(4.9649, 3.3152, 17.2044) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.26
Royal
#0C1793
ΔE00 7.01
Darkslateblue
#483D8B
ΔE00 7.12
Dark Royal Blue
#02066F
ΔE00 8.33
Marine
#042E60
ΔE00 8.36
Blueberry
#464196
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2875 #727528
analogous
#284B75 #2B2875 #512875
triadic
#2B2875 #752B28 #28752B
tetradic
#2B2875 #75284B #727528 #287551
square
#2B2875 #75284B #727528 #287551
split-complementary
#2B2875 #755128 #4B7528
monochromatic
#09091A #1A1847 #2B2875 #3C38A3 #5853C4
Accessibility & contrast
On white
12.63
#2B2875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B2875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2875
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2875 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2875; /* rgb */ color: rgb(43, 40, 117); /* oklch */ color: oklch(33.2% 0.128 278.6);
Tailwind
colors: {
custom: {
50: '#6d629d',
500: '#2b2875',
950: '#000000',
},
}SCSS
$custom: #2b2875; $custom-light: #6d629d; $custom-dark: #000000;
JSON
{
"hex": "#2b2875",
"rgb": {
"r": 43,
"g": 40,
"b": 117
},
"hsl": {
"h": 242.338,
"s": 49.045,
"l": 30.784
},
"oklch": {
"l": 0.3321,
"c": 0.12771,
"h": 278.6
},
"luminance": 0.03316
}Semantic roles & 50–950 ramp
primary
#2B2875
secondary
#A4A752
accent
#D94FD3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E