#2A5AAB#2A5AAB
#2A5AAB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.140 H 260.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AAB |
|---|---|
| RGB | rgb(42, 90, 171) |
| HSL | hsl(218, 61%, 42%) |
| HSV | hsv(218, 75%, 67%) |
| CMYK | cmyk(75.4%, 47.4%, 0%, 32.9%) |
| CIE-LAB | lab(39.15, 12.85, -48.12) |
| CIE-LCH | lch(39.15, 49.81, 284.95°) |
| OKLab | oklab(47.95% -0.0238 -0.1381) |
| OKLCH | oklch(47.95% 0.14 260.2) |
| XYZ | xyz(11.9590, 10.7435, 39.9636) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.17
Sapphire
#0F52BA
ΔE00 3.27
Denim Blue
#3B5B92
ΔE00 3.47
Dusk Blue
#26538D
ΔE00 4.28
Light Navy Blue
#2E5A88
ΔE00 4.41
Denim (survey)
#3B638C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AAB #AB7B2A
analogous
#2A9BAB #2A5AAB #3A2AAB
triadic
#2A5AAB #AB2A5A #5AAB2A
tetradic
#2A5AAB #AB2A9B #AB7B2A #2AAB3A
square
#2A5AAB #AB2A9B #AB7B2A #2AAB3A
split-complementary
#2A5AAB #AB3A2A #9BAB2A
monochromatic
#122649 #1E407A #2A5AAB #4277D1 #739ADD
Accessibility & contrast
On white
6.67
#2A5AAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2A5AAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AAB
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AAB | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E62AE
Deuteranopia (green-blind)
#0C57A9
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a5aab; /* rgb */ color: rgb(42, 90, 171); /* oklch */ color: oklch(47.9% 0.140 260.2);
Tailwind
colors: {
custom: {
50: '#7688c4',
500: '#2a5aab',
950: '#000000',
},
}SCSS
$custom: #2a5aab; $custom-light: #7688c4; $custom-dark: #000000;
JSON
{
"hex": "#2a5aab",
"rgb": {
"r": 42,
"g": 90,
"b": 171
},
"hsl": {
"h": 217.674,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.47949,
"c": 0.1401,
"h": 260.2
},
"luminance": 0.10745
}Semantic roles & 50–950 ramp
primary
#2A5AAB
secondary
#C4A46D
accent
#A844E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82