#2B339B#2B339B
#2B339B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.166 H 272.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B339B |
|---|---|
| RGB | rgb(43, 51, 155) |
| HSL | hsl(236, 57%, 39%) |
| HSV | hsv(236, 72%, 61%) |
| CMYK | cmyk(72.3%, 67.1%, 0%, 39.2%) |
| CIE-LAB | lab(27.43, 32.80, -57.53) |
| CIE-LCH | lch(27.43, 66.22, 299.69°) |
| OKLab | oklab(38.77% 0.0069 -0.1662) |
| OKLCH | oklch(38.77% 0.166 272.4) |
| XYZ | xyz(8.0945, 5.2470, 31.5902) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Blueberry
#464196
ΔE00 5.26
Darkslateblue
#483D8B
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.91
Royal
#0C1793
ΔE00 6.98
Blue Blue
#2242C7
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B339B #9B932B
analogous
#2B6B9B #2B339B #5B2B9B
triadic
#2B339B #9B2B33 #339B2B
tetradic
#2B339B #9B2B6B #9B932B #2B9B5B
square
#2B339B #9B2B6B #9B932B #2B9B5B
split-complementary
#2B339B #9B5B2B #6B9B2B
monochromatic
#10133B #1E236B #2B339B #3B45C9 #6B72D6
Accessibility & contrast
On white
10.25
#2B339B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B339B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B339B
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B339B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B339B | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b339b; /* rgb */ color: rgb(43, 51, 155); /* oklch */ color: oklch(38.8% 0.166 272.4);
Tailwind
colors: {
custom: {
50: '#756bb9',
500: '#2b339b',
950: '#000000',
},
}SCSS
$custom: #2b339b; $custom-light: #756bb9; $custom-dark: #000000;
JSON
{
"hex": "#2b339b",
"rgb": {
"r": 43,
"g": 51,
"b": 155
},
"hsl": {
"h": 235.714,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.38771,
"c": 0.16639,
"h": 272.4
},
"luminance": 0.05248
}Semantic roles & 50–950 ramp
primary
#2B339B
secondary
#BCB665
accent
#D548E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81