#2B397C#2B397C
#2B397C is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.115 H 271.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B397C |
|---|---|
| RGB | rgb(43, 57, 124) |
| HSL | hsl(230, 49%, 33%) |
| HSV | hsv(230, 65%, 49%) |
| CMYK | cmyk(65.3%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(26.43, 17.25, -39.94) |
| CIE-LCH | lch(26.43, 43.50, 293.36°) |
| OKLab | oklab(37.23% 0.0019 -0.1145) |
| OKLCH | oklch(37.23% 0.115 271) |
| XYZ | xyz(6.0963, 4.8946, 19.6884) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.81
Blueberry
#464196
ΔE00 6.06
Darkish Blue
#014182
ΔE00 6.35
Cobalt (survey)
#1E488F
ΔE00 6.42
Marine
#042E60
ΔE00 6.45
Marine Blue
#01386A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B397C #7C6E2B
analogous
#2B617C #2B397C #462B7C
triadic
#2B397C #7C2B39 #397C2B
tetradic
#2B397C #7C2B61 #7C6E2B #2B7C46
square
#2B397C #7C2B61 #7C6E2B #2B7C46
split-complementary
#2B397C #7C462B #617C2B
monochromatic
#0B0F21 #1B244F #2B397C #3B4EA9 #5B6EC6
Accessibility & contrast
On white
10.61
#2B397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2B397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B397C
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B397C | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b397c; /* rgb */ color: rgb(43, 57, 124); /* oklch */ color: oklch(37.2% 0.115 271.0);
Tailwind
colors: {
custom: {
50: '#6d6fa2',
500: '#2b397c',
950: '#000000',
},
}SCSS
$custom: #2b397c; $custom-light: #6d6fa2; $custom-dark: #000000;
JSON
{
"hex": "#2b397c",
"rgb": {
"r": 43,
"g": 57,
"b": 124
},
"hsl": {
"h": 229.63,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.3723,
"c": 0.11454,
"h": 271
},
"luminance": 0.04895
}Semantic roles & 50–950 ramp
primary
#2B397C
secondary
#AC9D57
accent
#C150D8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F