#2B4EB4#2B4EB4
#2B4EB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.167 H 265.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4EB4 |
|---|---|
| RGB | rgb(43, 78, 180) |
| HSL | hsl(225, 61%, 44%) |
| HSV | hsv(225, 76%, 71%) |
| CMYK | cmyk(76.1%, 56.7%, 0%, 29.4%) |
| CIE-LAB | lab(36.47, 24.35, -57.76) |
| CIE-LCH | lch(36.47, 62.68, 292.86°) |
| OKLab | oklab(46.13% -0.0125 -0.1666) |
| OKLCH | oklch(46.13% 0.167 265.7) |
| XYZ | xyz(11.9560, 9.2563, 44.3277) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.68
Dusk Blue
#26538D
ΔE00 6.30
Blue (survey)
#0343DF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4EB4 #B4912B
analogous
#2B92B4 #2B4EB4 #4D2BB4
triadic
#2B4EB4 #B42B4E #4EB42B
tetradic
#2B4EB4 #B42B92 #B4912B #2BB44D
square
#2B4EB4 #B42B92 #B4912B #2BB44D
split-complementary
#2B4EB4 #B44D2B #92B42B
monochromatic
#132351 #1F3983 #2B4EB4 #496CD3 #7A94DF
Accessibility & contrast
On white
7.36
#2B4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2B4EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4EB4
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4EB4 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4eb4; /* rgb */ color: rgb(43, 78, 180); /* oklch */ color: oklch(46.1% 0.167 265.7);
Tailwind
colors: {
custom: {
50: '#797fcb',
500: '#2b4eb4',
950: '#000000',
},
}SCSS
$custom: #2b4eb4; $custom-light: #797fcb; $custom-dark: #000000;
JSON
{
"hex": "#2b4eb4",
"rgb": {
"r": 43,
"g": 78,
"b": 180
},
"hsl": {
"h": 224.672,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.4613,
"c": 0.16709,
"h": 265.7
},
"luminance": 0.09258
}Semantic roles & 50–950 ramp
primary
#2B4EB4
secondary
#C7B273
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82