#2B4088#2B4088
#2B4088 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.123 H 268.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4088 |
|---|---|
| RGB | rgb(43, 64, 136) |
| HSL | hsl(226, 52%, 35%) |
| HSV | hsv(226, 68%, 53%) |
| CMYK | cmyk(68.4%, 52.9%, 0%, 46.7%) |
| CIE-LAB | lab(29.30, 16.99, -42.79) |
| CIE-LCH | lch(29.30, 46.04, 291.65°) |
| OKLab | oklab(39.68% -0.004 -0.1228) |
| OKLCH | oklch(39.68% 0.123 268.1) |
| XYZ | xyz(7.2721, 5.9573, 24.0544) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.93
Darkish Blue
#014182
ΔE00 4.91
Blueberry
#464196
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.78
Twilight Blue
#0A437A
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4088 #88732B
analogous
#2B6E88 #2B4088 #452B88
triadic
#2B4088 #882B40 #40882B
tetradic
#2B4088 #882B6E #88732B #2B8845
square
#2B4088 #882B6E #88732B #2B8845
split-complementary
#2B4088 #88452B #6E882B
monochromatic
#0E142B #1C2A5A #2B4088 #3A56B6 #6179CD
Accessibility & contrast
On white
9.58
#2B4088 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B4088 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4088
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4088 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4088 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b4088; /* rgb */ color: rgb(43, 64, 136); /* oklch */ color: oklch(39.7% 0.123 268.1);
Tailwind
colors: {
custom: {
50: '#7074ab',
500: '#2b4088',
950: '#000000',
},
}SCSS
$custom: #2b4088; $custom-light: #7074ab; $custom-dark: #000000;
JSON
{
"hex": "#2b4088",
"rgb": {
"r": 43,
"g": 64,
"b": 136
},
"hsl": {
"h": 226.452,
"s": 51.955,
"l": 35.098
},
"oklch": {
"l": 0.39679,
"c": 0.1229,
"h": 268.1
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#2B4088
secondary
#B39F5C
accent
#BB4CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F