#2A5AB8#2A5AB8
#2A5AB8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.158 H 262.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AB8 |
|---|---|
| RGB | rgb(42, 90, 184) |
| HSL | hsl(220, 63%, 44%) |
| HSV | hsv(220, 77%, 72%) |
| CMYK | cmyk(77.2%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.02, 17.85, -54.36) |
| CIE-LCH | lch(40.02, 57.22, 288.18°) |
| OKLab | oklab(48.9% -0.0219 -0.1564) |
| OKLCH | oklch(48.9% 0.158 262) |
| XYZ | xyz(13.2596, 11.2637, 46.8134) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.71
Denim
#1560BD
ΔE00 3.07
Denim Blue
#3B5B92
ΔE00 4.81
Dusk Blue
#26538D
ΔE00 5.82
Dusky Blue
#475F94
ΔE00 5.84
Light Navy Blue
#2E5A88
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AB8 #B8882A
analogous
#2AA1B8 #2A5AB8 #412AB8
triadic
#2A5AB8 #B82A5A #5AB82A
tetradic
#2A5AB8 #B82AA1 #B8882A #2AB841
square
#2A5AB8 #B82AA1 #B8882A #2AB841
split-complementary
#2A5AB8 #B8412A #A1B82A
monochromatic
#132954 #1F4286 #2A5AB8 #4A79D6 #7B9EE1
Accessibility & contrast
On white
6.46
#2A5AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2A5AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AB8
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AB8 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a5ab8; /* rgb */ color: rgb(42, 90, 184); /* oklch */ color: oklch(48.9% 0.158 262.0);
Tailwind
colors: {
custom: {
50: '#7988ce',
500: '#2a5ab8',
950: '#000000',
},
}SCSS
$custom: #2a5ab8; $custom-light: #7988ce; $custom-dark: #000000;
JSON
{
"hex": "#2a5ab8",
"rgb": {
"r": 42,
"g": 90,
"b": 184
},
"hsl": {
"h": 219.718,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.489,
"c": 0.15797,
"h": 262
},
"luminance": 0.11265
}Semantic roles & 50–950 ramp
primary
#2A5AB8
secondary
#C9AD75
accent
#AE42E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82