#2B3897#2B3897
#2B3897 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.155 H 271.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3897 |
|---|---|
| RGB | rgb(43, 56, 151) |
| HSL | hsl(233, 56%, 38%) |
| HSV | hsv(233, 72%, 59%) |
| CMYK | cmyk(71.5%, 62.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.32, 28.06, -53.63) |
| CIE-LCH | lch(28.32, 60.53, 297.62°) |
| OKLab | oklab(39.31% 0.0035 -0.1548) |
| OKLCH | oklch(39.31% 0.155 271.3) |
| XYZ | xyz(7.9945, 5.5755, 29.9270) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Blueberry
#464196
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 5.40
Cobalt
#0047AB
ΔE00 6.54
Blue Blue
#2242C7
ΔE00 6.96
Ocean Blue
#4F42B5
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3897 #978A2B
analogous
#2B6E97 #2B3897 #542B97
triadic
#2B3897 #972B38 #38972B
tetradic
#2B3897 #972B6E #978A2B #2B9754
square
#2B3897 #972B6E #978A2B #2B9754
split-complementary
#2B3897 #97542B #6E972B
monochromatic
#101538 #1D2667 #2B3897 #394AC7 #6875D4
Accessibility & contrast
On white
9.93
#2B3897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2B3897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3897
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3897 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b3897; /* rgb */ color: rgb(43, 56, 151); /* oklch */ color: oklch(39.3% 0.155 271.3);
Tailwind
colors: {
custom: {
50: '#746eb6',
500: '#2b3897',
950: '#000000',
},
}SCSS
$custom: #2b3897; $custom-light: #746eb6; $custom-dark: #000000;
JSON
{
"hex": "#2b3897",
"rgb": {
"r": 43,
"g": 56,
"b": 151
},
"hsl": {
"h": 232.778,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.39312,
"c": 0.15483,
"h": 271.3
},
"luminance": 0.05576
}Semantic roles & 50–950 ramp
primary
#2B3897
secondary
#BBB063
accent
#CD49DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80