#2B3366#2B3366
#2B3366 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.089 H 274.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3366 |
|---|---|
| RGB | rgb(43, 51, 102) |
| HSL | hsl(232, 41%, 28%) |
| HSV | hsv(232, 58%, 40%) |
| CMYK | cmyk(57.8%, 50%, 0%, 60%) |
| CIE-LAB | lab(23.14, 13.23, -31.18) |
| CIE-LCH | lch(23.14, 33.87, 292.99°) |
| OKLab | oklab(34.24% 0.0063 -0.0888) |
| OKLCH | oklch(34.24% 0.089 274) |
| XYZ | xyz(4.5776, 3.8402, 13.0678) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.60
Navy Blue
#1B2A4A
ΔE00 5.99
Marine Blue
#01386A
ΔE00 7.31
Darkslateblue
#483D8B
ΔE00 7.98
Darkish Blue
#014182
ΔE00 8.92
Midnight Blue
#191970
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3366 #665E2B
analogous
#2B5066 #2B3366 #402B66
triadic
#2B3366 #662B33 #33662B
tetradic
#2B3366 #662B50 #665E2B #2B6640
square
#2B3366 #662B50 #665E2B #2B6640
split-complementary
#2B3366 #66402B #50662B
monochromatic
#090B16 #191D3B #2B3366 #3D4991 #5462B7
Accessibility & contrast
On white
11.88
#2B3366 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2B3366 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3366
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3366 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3366 | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#0D3E47
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2b3366; /* rgb */ color: rgb(43, 51, 102); /* oklch */ color: oklch(34.2% 0.089 274.0);
Tailwind
colors: {
custom: {
50: '#6a6a92',
500: '#2b3366',
950: '#000000',
},
}SCSS
$custom: #2b3366; $custom-light: #6a6a92; $custom-dark: #000000;
JSON
{
"hex": "#2b3366",
"rgb": {
"r": 43,
"g": 51,
"b": 102
},
"hsl": {
"h": 231.864,
"s": 40.69,
"l": 28.431
},
"oklch": {
"l": 0.34238,
"c": 0.08906,
"h": 274
},
"luminance": 0.03841
}Semantic roles & 50–950 ramp
primary
#2B3366
secondary
#988F55
accent
#C057D1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E