#2B3770#2B3770
#2B3770 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.099 H 271.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3770 |
|---|---|
| RGB | rgb(43, 55, 112) |
| HSL | hsl(230, 45%, 30%) |
| HSV | hsv(230, 62%, 44%) |
| CMYK | cmyk(61.6%, 50.9%, 0%, 56.1%) |
| CIE-LAB | lab(25.00, 14.13, -34.63) |
| CIE-LCH | lch(25.00, 37.40, 292.20°) |
| OKLab | oklab(35.87% 0.0028 -0.0989) |
| OKLCH | oklch(35.87% 0.099 271.6) |
| XYZ | xyz(5.2861, 4.4154, 15.8998) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.56
Marine Blue
#01386A
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.87
Darkish Blue
#014182
ΔE00 7.19
Navy Blue
#1B2A4A
ΔE00 7.37
Blueberry
#464196
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3770 #70642B
analogous
#2B5970 #2B3770 #412B70
triadic
#2B3770 #702B37 #37702B
tetradic
#2B3770 #702B59 #70642B #2B7041
square
#2B3770 #702B59 #70642B #2B7041
split-complementary
#2B3770 #70412B #59702B
monochromatic
#090C18 #1A2144 #2B3770 #3C4D9C #5769BE
Accessibility & contrast
On white
11.15
#2B3770 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2B3770 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3770
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3770 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3770 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3E72
Deuteranopia (green-blind)
#0F386F
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b3770; /* rgb */ color: rgb(43, 55, 112); /* oklch */ color: oklch(35.9% 0.099 271.6);
Tailwind
colors: {
custom: {
50: '#6b6d99',
500: '#2b3770',
950: '#000000',
},
}SCSS
$custom: #2b3770; $custom-light: #6b6d99; $custom-dark: #000000;
JSON
{
"hex": "#2b3770",
"rgb": {
"r": 43,
"g": 55,
"b": 112
},
"hsl": {
"h": 229.565,
"s": 44.516,
"l": 30.392
},
"oklch": {
"l": 0.35873,
"c": 0.09898,
"h": 271.6
},
"luminance": 0.04416
}Semantic roles & 50–950 ramp
primary
#2B3770
secondary
#A29455
accent
#BE54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E