#2B387F#2B387F
#2B387F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.120 H 271.5°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B387F |
|---|---|
| RGB | rgb(43, 56, 127) |
| HSL | hsl(231, 49%, 33%) |
| HSV | hsv(231, 66%, 50%) |
| CMYK | cmyk(66.1%, 55.9%, 0%, 50.2%) |
| CIE-LAB | lab(26.37, 19.07, -41.92) |
| CIE-LCH | lch(26.37, 46.05, 294.46°) |
| OKLab | oklab(37.26% 0.0032 -0.1204) |
| OKLCH | oklch(37.26% 0.12 271.5) |
| XYZ | xyz(6.2399, 4.8737, 20.6864) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 6.64
Darkish Blue
#014182
ΔE00 6.65
Sapphire (survey)
#2138AB
ΔE00 6.77
Marine
#042E60
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B387F #7F722B
analogous
#2B627F #2B387F #482B7F
triadic
#2B387F #7F2B38 #387F2B
tetradic
#2B387F #7F2B62 #7F722B #2B7F48
square
#2B387F #7F2B62 #7F722B #2B7F48
split-complementary
#2B387F #7F482B #627F2B
monochromatic
#0C1024 #1C2451 #2B387F #3A4CAD #5C6DC8
Accessibility & contrast
On white
10.63
#2B387F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B387F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B387F
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B387F | 1.00 | 10.63 | 1.97 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#064281
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b387f; /* rgb */ color: rgb(43, 56, 127); /* oklch */ color: oklch(37.3% 0.120 271.5);
Tailwind
colors: {
custom: {
50: '#6e6ea5',
500: '#2b387f',
950: '#000000',
},
}SCSS
$custom: #2b387f; $custom-light: #6e6ea5; $custom-dark: #000000;
JSON
{
"hex": "#2b387f",
"rgb": {
"r": 43,
"g": 56,
"b": 127
},
"hsl": {
"h": 230.714,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.37256,
"c": 0.12042,
"h": 271.5
},
"luminance": 0.04874
}Semantic roles & 50–950 ramp
primary
#2B387F
secondary
#AEA158
accent
#C44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F