#2A5BAA#2A5BAA
#2A5BAA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.138 H 259.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BAA |
|---|---|
| RGB | rgb(42, 91, 170) |
| HSL | hsl(217, 60%, 42%) |
| HSV | hsv(217, 75%, 67%) |
| CMYK | cmyk(75.3%, 46.5%, 0%, 33.3%) |
| CIE-LAB | lab(39.37, 11.81, -47.17) |
| CIE-LCH | lch(39.37, 48.62, 284.06°) |
| OKLab | oklab(48.1% -0.0249 -0.1352) |
| OKLCH | oklch(48.1% 0.138 259.6) |
| XYZ | xyz(11.9490, 10.8754, 39.4918) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.94
Denim Blue
#3B5B92
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.62
Light Navy Blue
#2E5A88
ΔE00 4.24
Dusk Blue
#26538D
ΔE00 4.30
Denim (survey)
#3B638C
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BAA #AA792A
analogous
#2A9BAA #2A5BAA #392AAA
triadic
#2A5BAA #AA2A5B #5BAA2A
tetradic
#2A5BAA #AA2A9B #AA792A #2AAA39
square
#2A5BAA #AA2A9B #AA792A #2AAA39
split-complementary
#2A5BAA #AA392A #9BAA2A
monochromatic
#122648 #1E4179 #2A5BAA #4178D0 #729BDC
Accessibility & contrast
On white
6.61
#2A5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2A5BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BAA
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BAA | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#1457A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5baa; /* rgb */ color: rgb(42, 91, 170); /* oklch */ color: oklch(48.1% 0.138 259.6);
Tailwind
colors: {
custom: {
50: '#7588c4',
500: '#2a5baa',
950: '#000000',
},
}SCSS
$custom: #2a5baa; $custom-light: #7588c4; $custom-dark: #000000;
JSON
{
"hex": "#2a5baa",
"rgb": {
"r": 42,
"g": 91,
"b": 170
},
"hsl": {
"h": 217.031,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.48101,
"c": 0.13751,
"h": 259.6
},
"luminance": 0.10877
}Semantic roles & 50–950 ramp
primary
#2A5BAA
secondary
#C3A26C
accent
#A744E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82