#2A5AA4#2A5AA4
#2A5AA4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.130 H 258.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AA4 |
|---|---|
| RGB | rgb(42, 90, 164) |
| HSL | hsl(216, 59%, 40%) |
| HSV | hsv(216, 74%, 64%) |
| CMYK | cmyk(74.4%, 45.1%, 0%, 35.7%) |
| CIE-LAB | lab(38.70, 10.16, -44.68) |
| CIE-LCH | lch(38.70, 45.82, 282.81°) |
| OKLab | oklab(47.46% -0.0251 -0.128) |
| OKLCH | oklch(47.46% 0.13 258.9) |
| XYZ | xyz(11.3094, 10.4837, 36.5423) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.92
Dusk Blue
#26538D
ΔE00 3.53
Denim
#1560BD
ΔE00 3.55
Light Navy Blue
#2E5A88
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 3.85
Denim (survey)
#3B638C
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AA4 #A4742A
analogous
#2A97A4 #2A5AA4 #372AA4
triadic
#2A5AA4 #A42A5A #5AA42A
tetradic
#2A5AA4 #A42A97 #A4742A #2AA437
square
#2A5AA4 #A42A97 #A4742A #2AA437
split-complementary
#2A5AA4 #A4372A #97A42A
monochromatic
#112543 #1E3F73 #2A5AA4 #3E76CD #6E99DA
Accessibility & contrast
On white
6.78
#2A5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2A5AA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AA4
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AA4 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#1C56A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a5aa4; /* rgb */ color: rgb(42, 90, 164); /* oklch */ color: oklch(47.5% 0.130 258.9);
Tailwind
colors: {
custom: {
50: '#7488bf',
500: '#2a5aa4',
950: '#000000',
},
}SCSS
$custom: #2a5aa4; $custom-light: #7488bf; $custom-dark: #000000;
JSON
{
"hex": "#2a5aa4",
"rgb": {
"r": 42,
"g": 90,
"b": 164
},
"hsl": {
"h": 216.393,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.47459,
"c": 0.13039,
"h": 258.9
},
"luminance": 0.10485
}Semantic roles & 50–950 ramp
primary
#2A5AA4
secondary
#C19E69
accent
#A545E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81