#2B4DB7#2B4DB7
#2B4DB7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.172 H 266.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DB7 |
|---|---|
| RGB | rgb(43, 77, 183) |
| HSL | hsl(225, 62%, 44%) |
| HSV | hsv(225, 77%, 72%) |
| CMYK | cmyk(76.5%, 57.9%, 0%, 28.2%) |
| CIE-LAB | lab(36.44, 26.14, -59.58) |
| CIE-LCH | lch(36.44, 65.07, 293.69°) |
| OKLab | oklab(46.18% -0.0116 -0.172) |
| OKLCH | oklch(46.18% 0.172 266.1) |
| XYZ | xyz(12.1944, 9.2389, 45.9312) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 4.15
Blue (survey)
#0343DF
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 6.09
Sapphire (survey)
#2138AB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DB7 #B7952B
analogous
#2B93B7 #2B4DB7 #4F2BB7
triadic
#2B4DB7 #B72B4D #4DB72B
tetradic
#2B4DB7 #B72B93 #B7952B #2BB74F
square
#2B4DB7 #B72B93 #B7952B #2BB74F
split-complementary
#2B4DB7 #B74F2B #93B72B
monochromatic
#142354 #1F3885 #2B4DB7 #4B6CD5 #7C94E0
Accessibility & contrast
On white
7.37
#2B4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2B4DB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DB7
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DB7 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4db7; /* rgb */ color: rgb(43, 77, 183); /* oklch */ color: oklch(46.2% 0.172 266.1);
Tailwind
colors: {
custom: {
50: '#7a7ecd',
500: '#2b4db7',
950: '#000000',
},
}SCSS
$custom: #2b4db7; $custom-light: #7a7ecd; $custom-dark: #000000;
JSON
{
"hex": "#2b4db7",
"rgb": {
"r": 43,
"g": 77,
"b": 183
},
"hsl": {
"h": 225.429,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.46179,
"c": 0.17239,
"h": 266.1
},
"luminance": 0.0924
}Semantic roles & 50–950 ramp
primary
#2B4DB7
secondary
#C9B475
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82