#2B3E97#2B3E97
#2B3E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 269.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3E97 |
|---|---|
| RGB | rgb(43, 62, 151) |
| HSL | hsl(229, 56%, 38%) |
| HSV | hsv(229, 72%, 59%) |
| CMYK | cmyk(71.5%, 58.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.89, 24.04, -51.06) |
| CIE-LCH | lch(29.89, 56.44, 295.21°) |
| OKLab | oklab(40.48% -0.0013 -0.1472) |
| OKLCH | oklch(40.48% 0.147 269.5) |
| XYZ | xyz(8.3029, 6.1924, 30.0298) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3E97 #97842B
analogous
#2B7497 #2B3E97 #4E2B97
triadic
#2B3E97 #972B3E #3E972B
tetradic
#2B3E97 #972B74 #97842B #2B974E
square
#2B3E97 #972B74 #97842B #2B974E
split-complementary
#2B3E97 #974E2B #74972B
monochromatic
#101738 #1D2A67 #2B3E97 #3952C7 #687BD4
Accessibility & contrast
On white
9.38
#2B3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2B3E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3E97
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3E97 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b3e97; /* rgb */ color: rgb(43, 62, 151); /* oklch */ color: oklch(40.5% 0.147 269.5);
Tailwind
colors: {
custom: {
50: '#7373b6',
500: '#2b3e97',
950: '#000000',
},
}SCSS
$custom: #2b3e97; $custom-light: #7373b6; $custom-dark: #000000;
JSON
{
"hex": "#2b3e97",
"rgb": {
"r": 43,
"g": 62,
"b": 151
},
"hsl": {
"h": 229.444,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.40483,
"c": 0.14718,
"h": 269.5
},
"luminance": 0.06193
}Semantic roles & 50–950 ramp
primary
#2B3E97
secondary
#BBAB63
accent
#C549DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80