#2B3299#2B3299
#2B3299 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.165 H 272.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3299 |
|---|---|
| RGB | rgb(43, 50, 153) |
| HSL | hsl(236, 56%, 38%) |
| HSV | hsv(236, 72%, 60%) |
| CMYK | cmyk(71.9%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(27.00, 32.72, -57.01) |
| CIE-LCH | lch(27.00, 65.73, 299.85°) |
| OKLab | oklab(38.4% 0.0078 -0.1647) |
| OKLCH | oklch(38.4% 0.165 272.7) |
| XYZ | xyz(7.8847, 5.0939, 30.6985) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blueberry
#464196
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.92
Royal
#0C1793
ΔE00 6.71
Indigo Blue
#3A18B1
ΔE00 7.09
Ocean Blue
#4F42B5
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3299 #99922B
analogous
#2B6999 #2B3299 #5B2B99
triadic
#2B3299 #992B32 #32992B
tetradic
#2B3299 #992B69 #99922B #2B995B
square
#2B3299 #992B69 #99922B #2B995B
split-complementary
#2B3299 #995B2B #69992B
monochromatic
#101339 #1E2269 #2B3299 #3A43C8 #6970D5
Accessibility & contrast
On white
10.40
#2B3299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B3299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3299
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3299 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b3299; /* rgb */ color: rgb(43, 50, 153); /* oklch */ color: oklch(38.4% 0.165 272.7);
Tailwind
colors: {
custom: {
50: '#756ab8',
500: '#2b3299',
950: '#000000',
},
}SCSS
$custom: #2b3299; $custom-light: #756ab8; $custom-dark: #000000;
JSON
{
"hex": "#2b3299",
"rgb": {
"r": 43,
"g": 50,
"b": 153
},
"hsl": {
"h": 236.182,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.38404,
"c": 0.1649,
"h": 272.7
},
"luminance": 0.05095
}Semantic roles & 50–950 ramp
primary
#2B3299
secondary
#BCB664
accent
#D648DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80