#2B54AA#2B54AA
#2B54AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.146 H 262.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2B54AA |
|---|---|
| RGB | rgb(43, 84, 170) |
| HSL | hsl(221, 60%, 42%) |
| HSV | hsv(221, 75%, 67%) |
| CMYK | cmyk(74.7%, 50.6%, 0%, 33.3%) |
| CIE-LAB | lab(37.40, 16.55, -50.34) |
| CIE-LCH | lch(37.40, 52.99, 288.20°) |
| OKLab | oklab(46.6% -0.0181 -0.1447) |
| OKLCH | oklch(46.6% 0.146 262.9) |
| XYZ | xyz(11.4197, 9.7553, 39.3035) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.30
Denim Blue
#3B5B92
ΔE00 4.04
Dusk Blue
#26538D
ΔE00 4.15
Cobalt
#0047AB
ΔE00 4.29
Cobalt (survey)
#1E488F
ΔE00 5.05
Denim
#1560BD
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B54AA #AA812B
analogous
#2B94AA #2B54AA #422BAA
triadic
#2B54AA #AA2B54 #54AA2B
tetradic
#2B54AA #AA2B94 #AA812B #2BAA42
square
#2B54AA #AA2B94 #AA812B #2BAA42
split-complementary
#2B54AA #AA422B #94AA2B
monochromatic
#122448 #1F3C79 #2B54AA #4370CF #7495DC
Accessibility & contrast
On white
7.12
#2B54AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2B54AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B54AA
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B54AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B54AA | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b54aa; /* rgb */ color: rgb(43, 84, 170); /* oklch */ color: oklch(46.6% 0.146 262.9);
Tailwind
colors: {
custom: {
50: '#7683c4',
500: '#2b54aa',
950: '#000000',
},
}SCSS
$custom: #2b54aa; $custom-light: #7683c4; $custom-dark: #000000;
JSON
{
"hex": "#2b54aa",
"rgb": {
"r": 43,
"g": 84,
"b": 170
},
"hsl": {
"h": 220.63,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.46601,
"c": 0.14581,
"h": 262.9
},
"luminance": 0.09757
}Semantic roles & 50–950 ramp
primary
#2B54AA
secondary
#C3A86E
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82