#2B2B9E#2B2B9E
#2B2B9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.179 H 273.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2B9E |
|---|---|
| RGB | rgb(43, 43, 158) |
| HSL | hsl(240, 57%, 39%) |
| HSV | hsv(240, 73%, 62%) |
| CMYK | cmyk(72.8%, 72.8%, 0%, 38%) |
| CIE-LAB | lab(25.89, 38.83, -61.88) |
| CIE-LCH | lch(25.89, 73.06, 302.11°) |
| OKLab | oklab(37.75% 0.0115 -0.179) |
| OKLCH | oklch(37.75% 0.179 273.7) |
| XYZ | xyz(8.0296, 4.7092, 32.8269) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.17
Indigo Blue
#3A18B1
ΔE00 5.00
Royal
#0C1793
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 6.22
Royal Blue (survey)
#0504AA
ΔE00 6.71
Ultramarine
#2000B1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2B9E #9E9E2B
analogous
#2B659E #2B2B9E #652B9E
triadic
#2B2B9E #9E2B2B #2B9E2B
tetradic
#2B2B9E #9E2B65 #9E9E2B #2B9E65
square
#2B2B9E #9E2B65 #9E9E2B #2B9E65
split-complementary
#2B2B9E #9E652B #659E2B
monochromatic
#11113E #1E1E6E #2B2B9E #3C3CCA #6C6CD7
Accessibility & contrast
On white
10.81
#2B2B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2B2B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2B9E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2B9E | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b2b9e; /* rgb */ color: rgb(43, 43, 158); /* oklch */ color: oklch(37.8% 0.179 273.7);
Tailwind
colors: {
custom: {
50: '#7665bc',
500: '#2b2b9e',
950: '#000000',
},
}SCSS
$custom: #2b2b9e; $custom-light: #7665bc; $custom-dark: #000000;
JSON
{
"hex": "#2b2b9e",
"rgb": {
"r": 43,
"g": 43,
"b": 158
},
"hsl": {
"h": 240,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.3775,
"c": 0.17935,
"h": 273.7
},
"luminance": 0.0471
}Semantic roles & 50–950 ramp
primary
#2B2B9E
secondary
#BEBE67
accent
#E047E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81