#2B4DB2#2B4DB2
#2B4DB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.166 H 265.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4DB2 |
|---|---|
| RGB | rgb(43, 77, 178) |
| HSL | hsl(225, 61%, 43%) |
| HSV | hsv(225, 76%, 70%) |
| CMYK | cmyk(75.8%, 56.7%, 0%, 30.2%) |
| CIE-LAB | lab(36.05, 24.25, -57.26) |
| CIE-LCH | lch(36.05, 62.19, 292.95°) |
| OKLab | oklab(45.76% -0.0118 -0.1652) |
| OKLCH | oklch(45.76% 0.166 265.9) |
| XYZ | xyz(11.6832, 9.0344, 43.2389) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.95
Cobalt
#0047AB
ΔE00 3.10
Blue Blue
#2242C7
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.42
Dusk Blue
#26538D
ΔE00 6.26
Blue (survey)
#0343DF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4DB2 #B2902B
analogous
#2B90B2 #2B4DB2 #4C2BB2
triadic
#2B4DB2 #B22B4D #4DB22B
tetradic
#2B4DB2 #B22B90 #B2902B #2BB24C
square
#2B4DB2 #B22B90 #B2902B #2BB24C
split-complementary
#2B4DB2 #B24C2B #90B22B
monochromatic
#13224F #1F3881 #2B4DB2 #486BD3 #7992DF
Accessibility & contrast
On white
7.48
#2B4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2B4DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4DB2
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4DB2 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4db2; /* rgb */ color: rgb(43, 77, 178); /* oklch */ color: oklch(45.8% 0.166 265.9);
Tailwind
colors: {
custom: {
50: '#787eca',
500: '#2b4db2',
950: '#000000',
},
}SCSS
$custom: #2b4db2; $custom-light: #787eca; $custom-dark: #000000;
JSON
{
"hex": "#2b4db2",
"rgb": {
"r": 43,
"g": 77,
"b": 178
},
"hsl": {
"h": 224.889,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.45764,
"c": 0.16561,
"h": 265.9
},
"luminance": 0.09036
}Semantic roles & 50–950 ramp
primary
#2B4DB2
secondary
#C7B172
accent
#BC44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82