#2B4791#2B4791
#2B4791 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.127 H 265.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4791 |
|---|---|
| RGB | rgb(43, 71, 145) |
| HSL | hsl(224, 54%, 37%) |
| HSV | hsv(224, 70%, 57%) |
| CMYK | cmyk(70.3%, 51%, 0%, 43.1%) |
| CIE-LAB | lab(31.95, 15.66, -44.06) |
| CIE-LCH | lch(31.95, 46.76, 289.57°) |
| OKLab | oklab(41.89% -0.0097 -0.1264) |
| OKLCH | oklch(41.89% 0.127 265.6) |
| XYZ | xyz(8.3585, 7.0636, 27.7055) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.07
Cobalt
#0047AB
ΔE00 4.01
Darkish Blue
#014182
ΔE00 4.62
Dusk Blue
#26538D
ΔE00 5.13
Twilight Blue
#0A437A
ΔE00 5.36
Blueberry
#464196
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4791 #91752B
analogous
#2B7A91 #2B4791 #422B91
triadic
#2B4791 #912B47 #47912B
tetradic
#2B4791 #912B7A #91752B #2B9142
square
#2B4791 #912B7A #91752B #2B9142
split-complementary
#2B4791 #91422B #7A912B
monochromatic
#0F1933 #1D3062 #2B4791 #395EC0 #6583D1
Accessibility & contrast
On white
8.70
#2B4791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2B4791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4791
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4791 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2b4791; /* rgb */ color: rgb(43, 71, 145); /* oklch */ color: oklch(41.9% 0.127 265.6);
Tailwind
colors: {
custom: {
50: '#7179b2',
500: '#2b4791',
950: '#000000',
},
}SCSS
$custom: #2b4791; $custom-light: #7179b2; $custom-dark: #000000;
JSON
{
"hex": "#2b4791",
"rgb": {
"r": 43,
"g": 71,
"b": 145
},
"hsl": {
"h": 223.529,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.41893,
"c": 0.12682,
"h": 265.6
},
"luminance": 0.07064
}Semantic roles & 50–950 ramp
primary
#2B4791
secondary
#B8A060
accent
#B54ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80