#2B2E8F#2B2E8F
#2B2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.156 H 274.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2E8F |
|---|---|
| RGB | rgb(43, 46, 143) |
| HSL | hsl(238, 54%, 36%) |
| HSV | hsv(238, 70%, 56%) |
| CMYK | cmyk(69.9%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.11, 31.69, -53.96) |
| CIE-LCH | lch(25.11, 62.58, 300.43°) |
| OKLab | oklab(36.74% 0.0116 -0.1558) |
| OKLCH | oklch(36.74% 0.156 274.3) |
| XYZ | xyz(6.9295, 4.4501, 26.4750) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.81
Royal
#0C1793
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 5.97
Blueberry
#464196
ΔE00 6.11
Midnight Blue
#191970
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2E8F #8F8C2B
analogous
#2B608F #2B2E8F #5A2B8F
triadic
#2B2E8F #8F2B2E #2E8F2B
tetradic
#2B2E8F #8F2B60 #8F8C2B #2B8F5A
square
#2B2E8F #8F2B60 #8F8C2B #2B8F5A
split-complementary
#2B2E8F #8F5A2B #608F2B
monochromatic
#0F1031 #1D1F60 #2B2E8F #393DBE #6467D0
Accessibility & contrast
On white
11.11
#2B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2B2E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2E8F
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2E8F | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b2e8f; /* rgb */ color: rgb(43, 46, 143); /* oklch */ color: oklch(36.7% 0.156 274.3);
Tailwind
colors: {
custom: {
50: '#7367b1',
500: '#2b2e8f',
950: '#000000',
},
}SCSS
$custom: #2b2e8f; $custom-light: #7367b1; $custom-dark: #000000;
JSON
{
"hex": "#2b2e8f",
"rgb": {
"r": 43,
"g": 46,
"b": 143
},
"hsl": {
"h": 238.2,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.36741,
"c": 0.15625,
"h": 274.3
},
"luminance": 0.04451
}Semantic roles & 50–950 ramp
primary
#2B2E8F
secondary
#B7B45F
accent
#D94BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80