#2B2C8C#2B2C8C
#2B2C8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.155 H 275.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2C8C |
|---|---|
| RGB | rgb(43, 44, 140) |
| HSL | hsl(239, 53%, 36%) |
| HSV | hsv(239, 69%, 55%) |
| CMYK | cmyk(69.3%, 68.6%, 0%, 45.1%) |
| CIE-LAB | lab(24.35, 31.90, -53.34) |
| CIE-LCH | lch(24.35, 62.15, 300.88°) |
| OKLab | oklab(36.1% 0.0134 -0.154) |
| OKLCH | oklch(36.1% 0.155 275) |
| XYZ | xyz(6.6290, 4.2078, 25.2687) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.46
Midnight Blue
#191970
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 6.21
Blueberry
#464196
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2C8C #8C8B2B
analogous
#2B5C8C #2B2C8C #5A2B8C
triadic
#2B2C8C #8C2B2C #2C8C2B
tetradic
#2B2C8C #8C2B5C #8C8B2B #2B8C5A
square
#2B2C8C #8C2B5C #8C8B2B #2B8C5A
split-complementary
#2B2C8C #8C5A2B #5C8C2B
monochromatic
#0E0F2E #1D1D5D #2B2C8C #393BBB #6264CF
Accessibility & contrast
On white
11.40
#2B2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2B2C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2C8C
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2C8C | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2c8c; /* rgb */ color: rgb(43, 44, 140); /* oklch */ color: oklch(36.1% 0.155 275.0);
Tailwind
colors: {
custom: {
50: '#7265af',
500: '#2b2c8c',
950: '#000000',
},
}SCSS
$custom: #2b2c8c; $custom-light: #7265af; $custom-dark: #000000;
JSON
{
"hex": "#2b2c8c",
"rgb": {
"r": 43,
"g": 44,
"b": 140
},
"hsl": {
"h": 239.381,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.36103,
"c": 0.1546,
"h": 275
},
"luminance": 0.04208
}Semantic roles & 50–950 ramp
primary
#2B2C8C
secondary
#B5B45E
accent
#DB4BDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F