#2B4EBD#2B4EBD
#2B4EBD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.179 H 266.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EBD |
|---|---|
| RGB | rgb(43, 78, 189) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 77%, 74%) |
| CMYK | cmyk(77.2%, 58.7%, 0%, 25.9%) |
| CIE-LAB | lab(37.18, 27.75, -61.90) |
| CIE-LCH | lch(37.18, 67.84, 294.15°) |
| OKLab | oklab(46.88% -0.0121 -0.1788) |
| OKLCH | oklch(46.88% 0.179 266.1) |
| XYZ | xyz(12.9027, 9.6350, 49.3140) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 3.99
Cobalt
#0047AB
ΔE00 4.16
Blue (survey)
#0343DF
ΔE00 5.25
Warm Blue
#4B57DB
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EBD #BD9A2B
analogous
#2B97BD #2B4EBD #512BBD
triadic
#2B4EBD #BD2B4E #4EBD2B
tetradic
#2B4EBD #BD2B97 #BD9A2B #2BBD51
square
#2B4EBD #BD2B97 #BD9A2B #2BBD51
split-complementary
#2B4EBD #BD512B #97BD2B
monochromatic
#142559 #20398B #2B4EBD #4E6FD7 #8098E2
Accessibility & contrast
On white
7.17
#2B4EBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2B4EBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EBD
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EBD | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b4ebd; /* rgb */ color: rgb(43, 78, 189); /* oklch */ color: oklch(46.9% 0.179 266.1);
Tailwind
colors: {
custom: {
50: '#7b7fd2',
500: '#2b4ebd',
950: '#000000',
},
}SCSS
$custom: #2b4ebd; $custom-light: #7b7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2b4ebd",
"rgb": {
"r": 43,
"g": 78,
"b": 189
},
"hsl": {
"h": 225.616,
"s": 62.931,
"l": 45.49
},
"oklch": {
"l": 0.46881,
"c": 0.17921,
"h": 266.1
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#2B4EBD
secondary
#CBB779
accent
#BF42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83