#2B2F8A#2B2F8A
#2B2F8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.148 H 274.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F8A |
|---|---|
| RGB | rgb(43, 47, 138) |
| HSL | hsl(237, 52%, 35%) |
| HSV | hsv(237, 69%, 54%) |
| CMYK | cmyk(68.8%, 65.9%, 0%, 45.9%) |
| CIE-LAB | lab(24.89, 29.24, -51.20) |
| CIE-LCH | lch(24.89, 58.96, 299.73°) |
| OKLab | oklab(36.44% 0.0113 -0.1477) |
| OKLCH | oklch(36.44% 0.148 274.4) |
| XYZ | xyz(6.5987, 4.3810, 24.5377) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.68
Blueberry
#464196
ΔE00 5.98
Royal
#0C1793
ΔE00 6.40
Midnight Blue
#191970
ΔE00 6.62
Indigo Blue
#3A18B1
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F8A #8A862B
analogous
#2B5E8A #2B2F8A #572B8A
triadic
#2B2F8A #8A2B2F #2F8A2B
tetradic
#2B2F8A #8A2B5E #8A862B #2B8A57
square
#2B2F8A #8A2B5E #8A862B #2B8A57
split-complementary
#2B2F8A #8A572B #5E8A2B
monochromatic
#0E0F2D #1C1F5B #2B2F8A #3A3FB9 #6166CE
Accessibility & contrast
On white
11.19
#2B2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2B2F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F8A
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F8A | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b2f8a; /* rgb */ color: rgb(43, 47, 138); /* oklch */ color: oklch(36.4% 0.148 274.4);
Tailwind
colors: {
custom: {
50: '#7167ad',
500: '#2b2f8a',
950: '#000000',
},
}SCSS
$custom: #2b2f8a; $custom-light: #7167ad; $custom-dark: #000000;
JSON
{
"hex": "#2b2f8a",
"rgb": {
"r": 43,
"g": 47,
"b": 138
},
"hsl": {
"h": 237.474,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.36444,
"c": 0.14817,
"h": 274.4
},
"luminance": 0.04382
}Semantic roles & 50–950 ramp
primary
#2B2F8A
secondary
#B4B05D
accent
#D64CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F