#2B336A#2B336A
#2B336A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.095 H 274.1°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2B336A |
|---|---|
| RGB | rgb(43, 51, 106) |
| HSL | hsl(232, 42%, 29%) |
| HSV | hsv(232, 59%, 42%) |
| CMYK | cmyk(59.4%, 51.9%, 0%, 58.4%) |
| CIE-LAB | lab(23.41, 14.70, -33.33) |
| CIE-LCH | lch(23.41, 36.42, 293.80°) |
| OKLab | oklab(34.53% 0.0068 -0.0952) |
| OKLCH | oklch(34.53% 0.095 274.1) |
| XYZ | xyz(4.7808, 3.9215, 14.1379) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.64
Navy Blue
#1B2A4A
ΔE00 6.58
Marine Blue
#01386A
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.38
Blueberry
#464196
ΔE00 8.51
Darkish Blue
#014182
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B336A #6A622B
analogous
#2B536A #2B336A #432B6A
triadic
#2B336A #6A2B33 #336A2B
tetradic
#2B336A #6A2B53 #6A622B #2B6A43
square
#2B336A #6A2B53 #6A622B #2B6A43
split-complementary
#2B336A #6A432B #536A2B
monochromatic
#090A16 #191E3E #2B336A #3D4896 #5562BA
Accessibility & contrast
On white
11.77
#2B336A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2B336A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B336A
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B336A | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#0E3569
Tritanopia (blue-blind)
#073F49
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2b336a; /* rgb */ color: rgb(43, 51, 106); /* oklch */ color: oklch(34.5% 0.095 274.1);
Tailwind
colors: {
custom: {
50: '#6a6a95',
500: '#2b336a',
950: '#000000',
},
}SCSS
$custom: #2b336a; $custom-light: #6a6a95; $custom-dark: #000000;
JSON
{
"hex": "#2b336a",
"rgb": {
"r": 43,
"g": 51,
"b": 106
},
"hsl": {
"h": 232.381,
"s": 42.282,
"l": 29.216
},
"oklch": {
"l": 0.34534,
"c": 0.0954,
"h": 274.1
},
"luminance": 0.03922
}Semantic roles & 50–950 ramp
primary
#2B336A
secondary
#9C9355
accent
#C256D2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E