#2B2F82#2B2F82
#2B2F82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.137 H 274.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F82 |
|---|---|
| RGB | rgb(43, 47, 130) |
| HSL | hsl(237, 50%, 34%) |
| HSV | hsv(237, 67%, 51%) |
| CMYK | cmyk(66.9%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(24.19, 26.32, -47.35) |
| CIE-LCH | lch(24.19, 54.18, 299.06°) |
| OKLab | oklab(35.71% 0.0118 -0.1364) |
| OKLCH | oklch(35.71% 0.137 274.9) |
| XYZ | xyz(6.0407, 4.1578, 21.5990) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.65
Midnight Blue
#191970
ΔE00 6.24
Blueberry
#464196
ΔE00 6.30
Sapphire (survey)
#2138AB
ΔE00 6.40
Royal
#0C1793
ΔE00 7.08
Marine
#042E60
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F82 #827E2B
analogous
#2B5B82 #2B2F82 #532B82
triadic
#2B2F82 #822B2F #2F822B
tetradic
#2B2F82 #822B5B #827E2B #2B8253
square
#2B2F82 #822B5B #827E2B #2B8253
split-complementary
#2B2F82 #82532B #5B822B
monochromatic
#0D0E26 #1C1E54 #2B2F82 #3A40B0 #5E63CA
Accessibility & contrast
On white
11.47
#2B2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2B2F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F82
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F82 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b2f82; /* rgb */ color: rgb(43, 47, 130); /* oklch */ color: oklch(35.7% 0.137 274.9);
Tailwind
colors: {
custom: {
50: '#7067a7',
500: '#2b2f82',
950: '#000000',
},
}SCSS
$custom: #2b2f82; $custom-light: #7067a7; $custom-dark: #000000;
JSON
{
"hex": "#2b2f82",
"rgb": {
"r": 43,
"g": 47,
"b": 130
},
"hsl": {
"h": 237.241,
"s": 50.289,
"l": 33.922
},
"oklch": {
"l": 0.35707,
"c": 0.13696,
"h": 274.9
},
"luminance": 0.04158
}Semantic roles & 50–950 ramp
primary
#2B2F82
secondary
#B0AC59
accent
#D34EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F