#2A5AAE#2A5AAE
#2A5AAE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.144 H 260.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5AAE |
|---|---|
| RGB | rgb(42, 90, 174) |
| HSL | hsl(218, 61%, 42%) |
| HSV | hsv(218, 76%, 68%) |
| CMYK | cmyk(75.9%, 48.3%, 0%, 31.8%) |
| CIE-LAB | lab(39.34, 14.01, -49.58) |
| CIE-LCH | lch(39.34, 51.52, 285.78°) |
| OKLab | oklab(48.16% -0.0233 -0.1423) |
| OKLCH | oklch(48.16% 0.144 260.7) |
| XYZ | xyz(12.2482, 10.8592, 41.4867) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.06
Denim
#1560BD
ΔE00 3.07
Denim Blue
#3B5B92
ΔE00 3.75
Dusk Blue
#26538D
ΔE00 4.62
Light Navy Blue
#2E5A88
ΔE00 4.75
Dusky Blue
#475F94
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5AAE #AE7E2A
analogous
#2A9CAE #2A5AAE #3C2AAE
triadic
#2A5AAE #AE2A5A #5AAE2A
tetradic
#2A5AAE #AE2A9C #AE7E2A #2AAE3C
square
#2A5AAE #AE2A9C #AE7E2A #2AAE3C
split-complementary
#2A5AAE #AE3C2A #9CAE2A
monochromatic
#12274B #1E407D #2A5AAE #4377D2 #759BDE
Accessibility & contrast
On white
6.62
#2A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A5AAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5AAE
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5AAE | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5aae; /* rgb */ color: rgb(42, 90, 174); /* oklch */ color: oklch(48.2% 0.144 260.7);
Tailwind
colors: {
custom: {
50: '#7688c7',
500: '#2a5aae',
950: '#000000',
},
}SCSS
$custom: #2a5aae; $custom-light: #7688c7; $custom-dark: #000000;
JSON
{
"hex": "#2a5aae",
"rgb": {
"r": 42,
"g": 90,
"b": 174
},
"hsl": {
"h": 218.182,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.48163,
"c": 0.14425,
"h": 260.7
},
"luminance": 0.10861
}Semantic roles & 50–950 ramp
primary
#2A5AAE
secondary
#C5A66F
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82