#2B2973#2B2973
#2B2973 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.123 H 278.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2973 |
|---|---|
| RGB | rgb(43, 41, 115) |
| HSL | hsl(242, 47%, 31%) |
| HSV | hsv(242, 64%, 45%) |
| CMYK | cmyk(62.6%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(21.35, 24.90, -42.46) |
| CIE-LCH | lch(21.35, 49.22, 300.39°) |
| OKLab | oklab(33.22% 0.0182 -0.1221) |
| OKLCH | oklch(33.22% 0.123 278.5) |
| XYZ | xyz(4.8827, 3.3369, 16.6031) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 7.06
Royal
#0C1793
ΔE00 7.54
Marine
#042E60
ΔE00 7.99
Blueberry
#464196
ΔE00 8.40
Dark Royal Blue
#02066F
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2973 #717329
analogous
#294C73 #2B2973 #502973
triadic
#2B2973 #732B29 #29732B
tetradic
#2B2973 #73294C #717329 #297350
square
#2B2973 #73294C #717329 #297350
split-complementary
#2B2973 #735029 #4C7329
monochromatic
#090919 #1A1946 #2B2973 #3C39A0 #5754C2
Accessibility & contrast
On white
12.59
#2B2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2B2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2973
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2973 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2973; /* rgb */ color: rgb(43, 41, 115); /* oklch */ color: oklch(33.2% 0.123 278.5);
Tailwind
colors: {
custom: {
50: '#6d639c',
500: '#2b2973',
950: '#000000',
},
}SCSS
$custom: #2b2973; $custom-light: #6d639c; $custom-dark: #000000;
JSON
{
"hex": "#2b2973",
"rgb": {
"r": 43,
"g": 41,
"b": 115
},
"hsl": {
"h": 241.622,
"s": 47.436,
"l": 30.588
},
"oklch": {
"l": 0.33216,
"c": 0.12347,
"h": 278.5
},
"luminance": 0.03337
}Semantic roles & 50–950 ramp
primary
#2B2973
secondary
#A3A553
accent
#D751D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E