#2B54A2#2B54A2
#2B54A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.135 H 261.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54A2 |
|---|---|
| RGB | rgb(43, 84, 162) |
| HSL | hsl(219, 58%, 40%) |
| HSV | hsv(219, 73%, 64%) |
| CMYK | cmyk(73.5%, 48.1%, 0%, 36.5%) |
| CIE-LAB | lab(36.86, 13.48, -46.44) |
| CIE-LCH | lch(36.86, 48.36, 286.19°) |
| OKLab | oklab(46.01% -0.0192 -0.1332) |
| OKLCH | oklch(46.01% 0.135 261.8) |
| XYZ | xyz(10.6858, 9.4617, 35.4385) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.12
Denim Blue
#3B5B92
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.40
Light Navy Blue
#2E5A88
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54A2 #A2792B
analogous
#2B8FA2 #2B54A2 #3E2BA2
triadic
#2B54A2 #A22B54 #54A22B
tetradic
#2B54A2 #A22B8F #A2792B #2BA23E
square
#2B54A2 #A22B8F #A2792B #2BA23E
split-complementary
#2B54A2 #A23E2B #8FA22B
monochromatic
#112241 #1E3B72 #2B54A2 #3E6FCC #6F93D9
Accessibility & contrast
On white
7.26
#2B54A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2B54A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B54A2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54A2 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#0952A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2b54a2; /* rgb */ color: rgb(43, 84, 162); /* oklch */ color: oklch(46.0% 0.135 261.8);
Tailwind
colors: {
custom: {
50: '#7483be',
500: '#2b54a2',
950: '#000000',
},
}SCSS
$custom: #2b54a2; $custom-light: #7483be; $custom-dark: #000000;
JSON
{
"hex": "#2b54a2",
"rgb": {
"r": 43,
"g": 84,
"b": 162
},
"hsl": {
"h": 219.328,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.46014,
"c": 0.1346,
"h": 261.8
},
"luminance": 0.09463
}Semantic roles & 50–950 ramp
primary
#2B54A2
secondary
#C0A269
accent
#AC47E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81