#2B339A#2B339A
#2B339A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.165 H 272.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B339A |
|---|---|
| RGB | rgb(43, 51, 154) |
| HSL | hsl(236, 56%, 39%) |
| HSV | hsv(236, 72%, 60%) |
| CMYK | cmyk(72.1%, 66.9%, 0%, 39.6%) |
| CIE-LAB | lab(27.33, 32.44, -57.07) |
| CIE-LCH | lch(27.33, 65.64, 299.61°) |
| OKLab | oklab(38.68% 0.007 -0.1649) |
| OKLCH | oklch(38.68% 0.165 272.4) |
| XYZ | xyz(8.0109, 5.2135, 31.1497) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.88
Royal
#0C1793
ΔE00 6.99
Ocean Blue
#4F42B5
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B339A #9A922B
analogous
#2B6A9A #2B339A #5A2B9A
triadic
#2B339A #9A2B33 #339A2B
tetradic
#2B339A #9A2B6A #9A922B #2B9A5A
square
#2B339A #9A2B6A #9A922B #2B9A5A
split-complementary
#2B339A #9A5A2B #6A9A2B
monochromatic
#10133A #1E236A #2B339A #3A44C8 #6A72D5
Accessibility & contrast
On white
10.28
#2B339A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B339A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B339A
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B339A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B339A | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b339a; /* rgb */ color: rgb(43, 51, 154); /* oklch */ color: oklch(38.7% 0.165 272.4);
Tailwind
colors: {
custom: {
50: '#756bb9',
500: '#2b339a',
950: '#000000',
},
}SCSS
$custom: #2b339a; $custom-light: #756bb9; $custom-dark: #000000;
JSON
{
"hex": "#2b339a",
"rgb": {
"r": 43,
"g": 51,
"b": 154
},
"hsl": {
"h": 235.676,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.38676,
"c": 0.16505,
"h": 272.4
},
"luminance": 0.05214
}Semantic roles & 50–950 ramp
primary
#2B339A
secondary
#BCB665
accent
#D548E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81