#2B397F#2B397F
#2B397F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.119 H 271.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B397F |
|---|---|
| RGB | rgb(43, 57, 127) |
| HSL | hsl(230, 49%, 33%) |
| HSV | hsv(230, 66%, 50%) |
| CMYK | cmyk(66.1%, 55.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.65, 18.38, -41.46) |
| CIE-LCH | lch(26.65, 45.36, 293.91°) |
| OKLab | oklab(37.47% 0.0022 -0.119) |
| OKLCH | oklch(37.47% 0.119 271) |
| XYZ | xyz(6.2889, 4.9716, 20.7028) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.59
Blueberry
#464196
ΔE00 5.71
Cobalt (survey)
#1E488F
ΔE00 6.32
Darkish Blue
#014182
ΔE00 6.37
Marine Blue
#01386A
ΔE00 6.72
Marine
#042E60
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B397F #7F712B
analogous
#2B637F #2B397F #472B7F
triadic
#2B397F #7F2B39 #397F2B
tetradic
#2B397F #7F2B63 #7F712B #2B7F47
square
#2B397F #7F2B63 #7F712B #2B7F47
split-complementary
#2B397F #7F472B #637F2B
monochromatic
#0C1024 #1C2451 #2B397F #3A4EAD #5C6EC8
Accessibility & contrast
On white
10.53
#2B397F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2B397F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B397F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B397F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4381
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b397f; /* rgb */ color: rgb(43, 57, 127); /* oklch */ color: oklch(37.5% 0.119 271.0);
Tailwind
colors: {
custom: {
50: '#6e6fa5',
500: '#2b397f',
950: '#000000',
},
}SCSS
$custom: #2b397f; $custom-light: #6e6fa5; $custom-dark: #000000;
JSON
{
"hex": "#2b397f",
"rgb": {
"r": 43,
"g": 57,
"b": 127
},
"hsl": {
"h": 230,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.37468,
"c": 0.11904,
"h": 271
},
"luminance": 0.04972
}Semantic roles & 50–950 ramp
primary
#2B397F
secondary
#AEA058
accent
#C24FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F