#2B4EB6#2B4EB6
#2B4EB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.170 H 265.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EB6 |
|---|---|
| RGB | rgb(43, 78, 182) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 76%, 71%) |
| CMYK | cmyk(76.4%, 57.1%, 0%, 28.6%) |
| CIE-LAB | lab(36.63, 25.11, -58.69) |
| CIE-LCH | lch(36.63, 63.83, 293.16°) |
| OKLab | oklab(46.29% -0.0124 -0.1693) |
| OKLCH | oklch(46.29% 0.17 265.8) |
| XYZ | xyz(12.1612, 9.3384, 45.4085) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.73
Cobalt
#0047AB
ΔE00 3.50
Blue Blue
#2242C7
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.94
Blue (survey)
#0343DF
ΔE00 6.08
Dusk Blue
#26538D
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EB6 #B6932B
analogous
#2B94B6 #2B4EB6 #4E2BB6
triadic
#2B4EB6 #B62B4E #4EB62B
tetradic
#2B4EB6 #B62B94 #B6932B #2BB64E
square
#2B4EB6 #B62B94 #B6932B #2BB64E
split-complementary
#2B4EB6 #B64E2B #94B62B
monochromatic
#142453 #1F3984 #2B4EB6 #4A6DD4 #7B95E0
Accessibility & contrast
On white
7.32
#2B4EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2B4EB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EB6
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EB6 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4eb6; /* rgb */ color: rgb(43, 78, 182); /* oklch */ color: oklch(46.3% 0.170 265.8);
Tailwind
colors: {
custom: {
50: '#797fcd',
500: '#2b4eb6',
950: '#000000',
},
}SCSS
$custom: #2b4eb6; $custom-light: #797fcd; $custom-dark: #000000;
JSON
{
"hex": "#2b4eb6",
"rgb": {
"r": 43,
"g": 78,
"b": 182
},
"hsl": {
"h": 224.892,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.46295,
"c": 0.1698,
"h": 265.8
},
"luminance": 0.0934
}Semantic roles & 50–950 ramp
primary
#2B4EB6
secondary
#C8B375
accent
#BC43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82