#2B3A7E#2B3A7E
#2B3A7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.116 H 270.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3A7E |
|---|---|
| RGB | rgb(43, 58, 126) |
| HSL | hsl(229, 49%, 33%) |
| HSV | hsv(229, 66%, 49%) |
| CMYK | cmyk(65.9%, 54%, 0%, 50.6%) |
| CIE-LAB | lab(26.86, 17.31, -40.50) |
| CIE-LCH | lch(26.86, 44.04, 293.15°) |
| OKLab | oklab(37.6% 0.0011 -0.1162) |
| OKLCH | oklch(37.6% 0.116 270.5) |
| XYZ | xyz(6.2739, 5.0455, 20.3779) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.78
Blueberry
#464196
ΔE00 5.86
Cobalt (survey)
#1E488F
ΔE00 6.04
Darkish Blue
#014182
ΔE00 6.08
Marine Blue
#01386A
ΔE00 6.47
Marine
#042E60
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3A7E #7E6F2B
analogous
#2B637E #2B3A7E #462B7E
triadic
#2B3A7E #7E2B3A #3A7E2B
tetradic
#2B3A7E #7E2B63 #7E6F2B #2B7E46
square
#2B3A7E #7E2B63 #7E6F2B #2B7E46
split-complementary
#2B3A7E #7E462B #637E2B
monochromatic
#0C1023 #1B2550 #2B3A7E #3B4FAC #5C6FC7
Accessibility & contrast
On white
10.45
#2B3A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B3A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3A7E
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3A7E | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b3a7e; /* rgb */ color: rgb(43, 58, 126); /* oklch */ color: oklch(37.6% 0.116 270.5);
Tailwind
colors: {
custom: {
50: '#6e6fa4',
500: '#2b3a7e',
950: '#000000',
},
}SCSS
$custom: #2b3a7e; $custom-light: #6e6fa4; $custom-dark: #000000;
JSON
{
"hex": "#2b3a7e",
"rgb": {
"r": 43,
"g": 58,
"b": 126
},
"hsl": {
"h": 229.157,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.37603,
"c": 0.11616,
"h": 270.5
},
"luminance": 0.05046
}Semantic roles & 50–950 ramp
primary
#2B3A7E
secondary
#AD9E58
accent
#C04FD9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F