#2B2C8F#2B2C8F
#2B2C8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.159 H 274.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2C8F |
|---|---|
| RGB | rgb(43, 44, 143) |
| HSL | hsl(239, 54%, 36%) |
| HSV | hsv(239, 70%, 56%) |
| CMYK | cmyk(69.9%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.63, 32.97, -54.74) |
| CIE-LCH | lch(24.63, 63.90, 301.06°) |
| OKLab | oklab(36.4% 0.013 -0.1581) |
| OKLCH | oklch(36.4% 0.159 274.7) |
| XYZ | xyz(6.8532, 4.2975, 26.4496) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.13
Royal
#0C1793
ΔE00 5.30
Darkslateblue
#483D8B
ΔE00 6.31
Midnight Blue
#191970
ΔE00 6.41
Blueberry
#464196
ΔE00 6.53
Indigo Blue
#3A18B1
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2C8F #8F8E2B
analogous
#2B5E8F #2B2C8F #5C2B8F
triadic
#2B2C8F #8F2B2C #2C8F2B
tetradic
#2B2C8F #8F2B5E #8F8E2B #2B8F5C
square
#2B2C8F #8F2B5E #8F8E2B #2B8F5C
split-complementary
#2B2C8F #8F5C2B #5E8F2B
monochromatic
#0F0F31 #1D1E60 #2B2C8F #393ABE #6465D0
Accessibility & contrast
On white
11.29
#2B2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B2C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2C8F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2C8F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b2c8f; /* rgb */ color: rgb(43, 44, 143); /* oklch */ color: oklch(36.4% 0.159 274.7);
Tailwind
colors: {
custom: {
50: '#7366b1',
500: '#2b2c8f',
950: '#000000',
},
}SCSS
$custom: #2b2c8f; $custom-light: #7366b1; $custom-dark: #000000;
JSON
{
"hex": "#2b2c8f",
"rgb": {
"r": 43,
"g": 44,
"b": 143
},
"hsl": {
"h": 239.4,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.36396,
"c": 0.15864,
"h": 274.7
},
"luminance": 0.04298
}Semantic roles & 50–950 ramp
primary
#2B2C8F
secondary
#B7B65F
accent
#DC4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80