#2B2F84#2B2F84
#2B2F84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.140 H 274.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F84 |
|---|---|
| RGB | rgb(43, 47, 132) |
| HSL | hsl(237, 51%, 34%) |
| HSV | hsv(237, 67%, 52%) |
| CMYK | cmyk(67.4%, 64.4%, 0%, 48.2%) |
| CIE-LAB | lab(24.36, 27.05, -48.33) |
| CIE-LCH | lch(24.36, 55.38, 299.24°) |
| OKLab | oklab(35.89% 0.0117 -0.1393) |
| OKLCH | oklch(35.89% 0.14 274.8) |
| XYZ | xyz(6.1763, 4.2120, 22.3128) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 6.11
Blueberry
#464196
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.31
Royal
#0C1793
ΔE00 6.89
Marine
#042E60
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F84 #84802B
analogous
#2B5C84 #2B2F84 #542B84
triadic
#2B2F84 #842B2F #2F842B
tetradic
#2B2F84 #842B5C #84802B #2B8454
square
#2B2F84 #842B5C #84802B #2B8454
split-complementary
#2B2F84 #84542B #5C842B
monochromatic
#0D0E28 #1C1F56 #2B2F84 #3A3FB2 #5F64CB
Accessibility & contrast
On white
11.40
#2B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2B2F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F84
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F84 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2f84; /* rgb */ color: rgb(43, 47, 132); /* oklch */ color: oklch(35.9% 0.140 274.8);
Tailwind
colors: {
custom: {
50: '#7067a9',
500: '#2b2f84',
950: '#000000',
},
}SCSS
$custom: #2b2f84; $custom-light: #7067a9; $custom-dark: #000000;
JSON
{
"hex": "#2b2f84",
"rgb": {
"r": 43,
"g": 47,
"b": 132
},
"hsl": {
"h": 237.303,
"s": 50.857,
"l": 34.314
},
"oklch": {
"l": 0.35889,
"c": 0.13979,
"h": 274.8
},
"luminance": 0.04213
}Semantic roles & 50–950 ramp
primary
#2B2F84
secondary
#B1AD5A
accent
#D44DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F