#2B2C8E#2B2C8E
#2B2C8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.157 H 274.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2C8E |
|---|---|
| RGB | rgb(43, 44, 142) |
| HSL | hsl(239, 54%, 36%) |
| HSV | hsv(239, 70%, 56%) |
| CMYK | cmyk(69.7%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.54, 32.62, -54.27) |
| CIE-LCH | lch(24.54, 63.32, 301.00°) |
| OKLab | oklab(36.3% 0.0132 -0.1567) |
| OKLCH | oklch(36.3% 0.157 274.8) |
| XYZ | xyz(6.7778, 4.2673, 26.0524) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.24
Royal
#0C1793
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.32
Blueberry
#464196
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2C8E #8E8D2B
analogous
#2B5E8E #2B2C8E #5C2B8E
triadic
#2B2C8E #8E2B2C #2C8E2B
tetradic
#2B2C8E #8E2B5E #8E8D2B #2B8E5C
square
#2B2C8E #8E2B5E #8E8D2B #2B8E5C
split-complementary
#2B2C8E #8E5C2B #5E8E2B
monochromatic
#0F0F30 #1D1D5F #2B2C8E #393BBD #6365D0
Accessibility & contrast
On white
11.33
#2B2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2B2C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2C8E
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2C8E | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2c8e; /* rgb */ color: rgb(43, 44, 142); /* oklch */ color: oklch(36.3% 0.157 274.8);
Tailwind
colors: {
custom: {
50: '#7366b0',
500: '#2b2c8e',
950: '#000000',
},
}SCSS
$custom: #2b2c8e; $custom-light: #7366b0; $custom-dark: #000000;
JSON
{
"hex": "#2b2c8e",
"rgb": {
"r": 43,
"g": 44,
"b": 142
},
"hsl": {
"h": 239.394,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.36298,
"c": 0.1573,
"h": 274.8
},
"luminance": 0.04268
}Semantic roles & 50–950 ramp
primary
#2B2C8E
secondary
#B6B55F
accent
#DB4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80