#2B2F88#2B2F88
#2B2F88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.145 H 274.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F88 |
|---|---|
| RGB | rgb(43, 47, 136) |
| HSL | hsl(237, 52%, 35%) |
| HSV | hsv(237, 68%, 53%) |
| CMYK | cmyk(68.4%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.71, 28.51, -50.25) |
| CIE-LCH | lch(24.71, 57.77, 299.57°) |
| OKLab | oklab(36.26% 0.0114 -0.1449) |
| OKLCH | oklch(36.26% 0.145 274.5) |
| XYZ | xyz(6.4552, 4.3236, 23.7821) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.65
Blueberry
#464196
ΔE00 6.04
Midnight Blue
#191970
ΔE00 6.50
Royal
#0C1793
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F88 #88842B
analogous
#2B5E88 #2B2F88 #552B88
triadic
#2B2F88 #882B2F #2F882B
tetradic
#2B2F88 #882B5E #88842B #2B8855
square
#2B2F88 #882B5E #88842B #2B8855
split-complementary
#2B2F88 #88552B #5E882B
monochromatic
#0E0F2B #1C1F5A #2B2F88 #3A3FB6 #6165CD
Accessibility & contrast
On white
11.26
#2B2F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B2F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F88
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F88 | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b2f88; /* rgb */ color: rgb(43, 47, 136); /* oklch */ color: oklch(36.3% 0.145 274.5);
Tailwind
colors: {
custom: {
50: '#7167ac',
500: '#2b2f88',
950: '#000000',
},
}SCSS
$custom: #2b2f88; $custom-light: #7167ac; $custom-dark: #000000;
JSON
{
"hex": "#2b2f88",
"rgb": {
"r": 43,
"g": 47,
"b": 136
},
"hsl": {
"h": 237.419,
"s": 51.955,
"l": 35.098
},
"oklch": {
"l": 0.36257,
"c": 0.1454,
"h": 274.5
},
"luminance": 0.04324
}Semantic roles & 50–950 ramp
primary
#2B2F88
secondary
#B3AF5C
accent
#D54CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F