#2A5BB0#2A5BB0
#2A5BB0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.146 H 260.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BB0 |
|---|---|
| RGB | rgb(42, 91, 176) |
| HSL | hsl(218, 61%, 43%) |
| HSV | hsv(218, 76%, 69%) |
| CMYK | cmyk(76.1%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(39.76, 14.12, -50.08) |
| CIE-LCH | lch(39.76, 52.03, 285.75°) |
| OKLab | oklab(48.53% -0.0239 -0.1438) |
| OKLCH | oklch(48.53% 0.146 260.6) |
| XYZ | xyz(12.5296, 11.1076, 42.5495) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.72
Sapphire
#0F52BA
ΔE00 3.25
Denim Blue
#3B5B92
ΔE00 3.94
Light Navy Blue
#2E5A88
ΔE00 4.92
Dusk Blue
#26538D
ΔE00 4.95
Denim (survey)
#3B638C
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BB0 #B07F2A
analogous
#2A9EB0 #2A5BB0 #3C2AB0
triadic
#2A5BB0 #B02A5B #5BB02A
tetradic
#2A5BB0 #B02A9E #B07F2A #2AB03C
square
#2A5BB0 #B02A9E #B07F2A #2AB03C
split-complementary
#2A5BB0 #B03C2A #9EB02A
monochromatic
#12284D #1E417F #2A5BB0 #4579D3 #769CDE
Accessibility & contrast
On white
6.52
#2A5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A5BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BB0
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BB0 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5bb0; /* rgb */ color: rgb(42, 91, 176); /* oklch */ color: oklch(48.5% 0.146 260.6);
Tailwind
colors: {
custom: {
50: '#7788c8',
500: '#2a5bb0',
950: '#000000',
},
}SCSS
$custom: #2a5bb0; $custom-light: #7788c8; $custom-dark: #000000;
JSON
{
"hex": "#2a5bb0",
"rgb": {
"r": 42,
"g": 91,
"b": 176
},
"hsl": {
"h": 218.06,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.48527,
"c": 0.14579,
"h": 260.6
},
"luminance": 0.11109
}Semantic roles & 50–950 ramp
primary
#2A5BB0
secondary
#C6A670
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82