#2B2F8E#2B2F8E
#2B2F8E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.154 H 274.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F8E |
|---|---|
| RGB | rgb(43, 47, 142) |
| HSL | hsl(238, 54%, 36%) |
| HSV | hsv(238, 70%, 56%) |
| CMYK | cmyk(69.7%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(25.26, 30.68, -53.09) |
| CIE-LCH | lch(25.26, 61.32, 300.03°) |
| OKLab | oklab(36.82% 0.0109 -0.1533) |
| OKLCH | oklch(36.82% 0.154 274.1) |
| XYZ | xyz(6.8936, 4.4990, 26.0910) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 5.79
Blueberry
#464196
ΔE00 5.91
Royal
#0C1793
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.91
Indigo Blue
#3A18B1
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F8E #8E8A2B
analogous
#2B618E #2B2F8E #592B8E
triadic
#2B2F8E #8E2B2F #2F8E2B
tetradic
#2B2F8E #8E2B61 #8E8A2B #2B8E59
square
#2B2F8E #8E2B61 #8E8A2B #2B8E59
split-complementary
#2B2F8E #8E592B #618E2B
monochromatic
#0F1030 #1D1F5F #2B2F8E #393FBD #6368D0
Accessibility & contrast
On white
11.05
#2B2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F8E
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F8E | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2f8e; /* rgb */ color: rgb(43, 47, 142); /* oklch */ color: oklch(36.8% 0.154 274.1);
Tailwind
colors: {
custom: {
50: '#7268b0',
500: '#2b2f8e',
950: '#000000',
},
}SCSS
$custom: #2b2f8e; $custom-light: #7268b0; $custom-dark: #000000;
JSON
{
"hex": "#2b2f8e",
"rgb": {
"r": 43,
"g": 47,
"b": 142
},
"hsl": {
"h": 237.576,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.36822,
"c": 0.15367,
"h": 274.1
},
"luminance": 0.045
}Semantic roles & 50–950 ramp
primary
#2B2F8E
secondary
#B6B35F
accent
#D74BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80