#2B54AB#2B54AB
#2B54AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.147 H 263.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54AB |
|---|---|
| RGB | rgb(43, 84, 171) |
| HSL | hsl(221, 60%, 42%) |
| HSV | hsv(221, 75%, 67%) |
| CMYK | cmyk(74.9%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.47, 16.94, -50.82) |
| CIE-LCH | lch(37.47, 53.57, 288.43°) |
| OKLab | oklab(46.68% -0.018 -0.1461) |
| OKLCH | oklch(46.68% 0.147 263) |
| XYZ | xyz(11.5146, 9.7932, 39.8036) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.21
Denim Blue
#3B5B92
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.29
Denim
#1560BD
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54AB #AB822B
analogous
#2B94AB #2B54AB #422BAB
triadic
#2B54AB #AB2B54 #54AB2B
tetradic
#2B54AB #AB2B94 #AB822B #2BAB42
square
#2B54AB #AB2B94 #AB822B #2BAB42
split-complementary
#2B54AB #AB422B #94AB2B
monochromatic
#122449 #1F3C7A #2B54AB #4370D0 #7496DC
Accessibility & contrast
On white
7.10
#2B54AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2B54AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B54AB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54AB | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b54ab; /* rgb */ color: rgb(43, 84, 171); /* oklch */ color: oklch(46.7% 0.147 263.0);
Tailwind
colors: {
custom: {
50: '#7683c5',
500: '#2b54ab',
950: '#000000',
},
}SCSS
$custom: #2b54ab; $custom-light: #7683c5; $custom-dark: #000000;
JSON
{
"hex": "#2b54ab",
"rgb": {
"r": 43,
"g": 84,
"b": 171
},
"hsl": {
"h": 220.781,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.46676,
"c": 0.1472,
"h": 263
},
"luminance": 0.09795
}Semantic roles & 50–950 ramp
primary
#2B54AB
secondary
#C4A86E
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82