#2A5BB2#2A5BB2
#2A5BB2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.149 H 260.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BB2 |
|---|---|
| RGB | rgb(42, 91, 178) |
| HSL | hsl(218, 62%, 43%) |
| HSV | hsv(218, 76%, 70%) |
| CMYK | cmyk(76.4%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(39.89, 14.89, -51.04) |
| CIE-LCH | lch(39.89, 53.17, 286.26°) |
| OKLab | oklab(48.67% -0.0236 -0.1466) |
| OKLCH | oklch(48.67% 0.149 260.9) |
| XYZ | xyz(12.7289, 11.1873, 43.5994) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.15
Denim Blue
#3B5B92
ΔE00 4.15
Light Navy Blue
#2E5A88
ΔE00 5.14
Dusk Blue
#26538D
ΔE00 5.18
Denim (survey)
#3B638C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BB2 #B2812A
analogous
#2A9FB2 #2A5BB2 #3D2AB2
triadic
#2A5BB2 #B22A5B #5BB22A
tetradic
#2A5BB2 #B22A9F #B2812A #2AB23D
square
#2A5BB2 #B22A9F #B2812A #2AB23D
split-complementary
#2A5BB2 #B23D2A #9FB22A
monochromatic
#13284F #1E4280 #2A5BB2 #4679D3 #779DDF
Accessibility & contrast
On white
6.49
#2A5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2A5BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BB2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BB2 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5bb2; /* rgb */ color: rgb(42, 91, 178); /* oklch */ color: oklch(48.7% 0.149 260.9);
Tailwind
colors: {
custom: {
50: '#7788ca',
500: '#2a5bb2',
950: '#000000',
},
}SCSS
$custom: #2a5bb2; $custom-light: #7788ca; $custom-dark: #000000;
JSON
{
"hex": "#2a5bb2",
"rgb": {
"r": 42,
"g": 91,
"b": 178
},
"hsl": {
"h": 218.382,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.48672,
"c": 0.14853,
"h": 260.9
},
"luminance": 0.11189
}Semantic roles & 50–950 ramp
primary
#2A5BB2
secondary
#C7A871
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82