#2B4EBA#2B4EBA
#2B4EBA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.175 H 266.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EBA |
|---|---|
| RGB | rgb(43, 78, 186) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 77%, 73%) |
| CMYK | cmyk(76.9%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.94, 26.62, -60.53) |
| CIE-LCH | lch(36.94, 66.13, 293.74°) |
| OKLab | oklab(46.63% -0.0122 -0.1748) |
| OKLCH | oklch(46.63% 0.175 266) |
| XYZ | xyz(12.5805, 9.5061, 47.6167) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.20
Blue (survey)
#0343DF
ΔE00 5.60
Cobalt (survey)
#1E488F
ΔE00 6.48
Warm Blue
#4B57DB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EBA #BA972B
analogous
#2B95BA #2B4EBA #502BBA
triadic
#2B4EBA #BA2B4E #4EBA2B
tetradic
#2B4EBA #BA2B95 #BA972B #2BBA50
square
#2B4EBA #BA2B95 #BA972B #2BBA50
split-complementary
#2B4EBA #BA502B #95BA2B
monochromatic
#142457 #203988 #2B4EBA #4C6ED6 #7E96E1
Accessibility & contrast
On white
7.24
#2B4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2B4EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EBA
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EBA | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4eba; /* rgb */ color: rgb(43, 78, 186); /* oklch */ color: oklch(46.6% 0.175 266.0);
Tailwind
colors: {
custom: {
50: '#7a7fd0',
500: '#2b4eba',
950: '#000000',
},
}SCSS
$custom: #2b4eba; $custom-light: #7a7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2b4eba",
"rgb": {
"r": 43,
"g": 78,
"b": 186
},
"hsl": {
"h": 225.315,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.46628,
"c": 0.17519,
"h": 266
},
"luminance": 0.09508
}Semantic roles & 50–950 ramp
primary
#2B4EBA
secondary
#CAB677
accent
#BE42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82