#2B3D89#2B3D89
#2B3D89 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.128 H 269.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3D89 |
|---|---|
| RGB | rgb(43, 61, 137) |
| HSL | hsl(229, 52%, 35%) |
| HSV | hsv(229, 69%, 54%) |
| CMYK | cmyk(68.6%, 55.5%, 0%, 46.3%) |
| CIE-LAB | lab(28.53, 19.42, -44.67) |
| CIE-LCH | lch(28.53, 48.70, 293.50°) |
| OKLab | oklab(39.12% -0.001 -0.1284) |
| OKLCH | oklch(39.12% 0.128 269.5) |
| XYZ | xyz(7.1788, 5.6565, 24.3756) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.92
Blueberry
#464196
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 5.61
Darkish Blue
#014182
ΔE00 5.65
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3D89 #89772B
analogous
#2B6C89 #2B3D89 #482B89
triadic
#2B3D89 #892B3D #3D892B
tetradic
#2B3D89 #892B6C #89772B #2B8948
square
#2B3D89 #892B6C #89772B #2B8948
split-complementary
#2B3D89 #89482B #6C892B
monochromatic
#0E142C #1C285A #2B3D89 #3A52B8 #6176CD
Accessibility & contrast
On white
9.85
#2B3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2B3D89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3D89
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3D89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3D89 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05488C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b3d89; /* rgb */ color: rgb(43, 61, 137); /* oklch */ color: oklch(39.1% 0.128 269.5);
Tailwind
colors: {
custom: {
50: '#7072ac',
500: '#2b3d89',
950: '#000000',
},
}SCSS
$custom: #2b3d89; $custom-light: #7072ac; $custom-dark: #000000;
JSON
{
"hex": "#2b3d89",
"rgb": {
"r": 43,
"g": 61,
"b": 137
},
"hsl": {
"h": 228.511,
"s": 52.222,
"l": 35.294
},
"oklch": {
"l": 0.39117,
"c": 0.12838,
"h": 269.5
},
"luminance": 0.05657
}Semantic roles & 50–950 ramp
primary
#2B3D89
secondary
#B3A35C
accent
#C04CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F