#2B54A1#2B54A1
#2B54A1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.133 H 261.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54A1 |
|---|---|
| RGB | rgb(43, 84, 161) |
| HSL | hsl(219, 58%, 40%) |
| HSV | hsv(219, 73%, 63%) |
| CMYK | cmyk(73.3%, 47.8%, 0%, 36.9%) |
| CIE-LAB | lab(36.79, 13.10, -45.95) |
| CIE-LCH | lch(36.79, 47.78, 285.91°) |
| OKLab | oklab(45.94% -0.0194 -0.1318) |
| OKLCH | oklch(45.94% 0.133 261.6) |
| XYZ | xyz(10.5973, 9.4263, 34.9723) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.98
Sapphire
#0F52BA
ΔE00 3.23
Denim Blue
#3B5B92
ΔE00 3.29
Cobalt (survey)
#1E488F
ΔE00 4.33
Light Navy Blue
#2E5A88
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54A1 #A1782B
analogous
#2B8FA1 #2B54A1 #3D2BA1
triadic
#2B54A1 #A12B54 #54A12B
tetradic
#2B54A1 #A12B8F #A1782B #2BA13D
square
#2B54A1 #A12B8F #A1782B #2BA13D
split-complementary
#2B54A1 #A13D2B #8FA12B
monochromatic
#112240 #1E3B71 #2B54A1 #3E6FCB #6E93D8
Accessibility & contrast
On white
7.28
#2B54A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2B54A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B54A1
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54A1 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5CA4
Deuteranopia (green-blind)
#0D519F
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b54a1; /* rgb */ color: rgb(43, 84, 161); /* oklch */ color: oklch(45.9% 0.133 261.6);
Tailwind
colors: {
custom: {
50: '#7483bd',
500: '#2b54a1',
950: '#000000',
},
}SCSS
$custom: #2b54a1; $custom-light: #7483bd; $custom-dark: #000000;
JSON
{
"hex": "#2b54a1",
"rgb": {
"r": 43,
"g": 84,
"b": 161
},
"hsl": {
"h": 219.153,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.45942,
"c": 0.13319,
"h": 261.6
},
"luminance": 0.09427
}Semantic roles & 50–950 ramp
primary
#2B54A1
secondary
#BFA169
accent
#AB47E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81