#2A55A4#2A55A4
#2A55A4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.136 H 261.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55A4 |
|---|---|
| RGB | rgb(42, 85, 164) |
| HSL | hsl(219, 59%, 40%) |
| HSV | hsv(219, 74%, 64%) |
| CMYK | cmyk(74.4%, 48.2%, 0%, 35.7%) |
| CIE-LAB | lab(37.24, 13.45, -47.02) |
| CIE-LCH | lch(37.24, 48.91, 285.96°) |
| OKLab | oklab(46.34% -0.0206 -0.1349) |
| OKLCH | oklch(46.34% 0.136 261.3) |
| XYZ | xyz(10.9018, 9.6684, 36.4064) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.95
Dusk Blue
#26538D
ΔE00 3.24
Denim Blue
#3B5B92
ΔE00 3.34
Light Navy Blue
#2E5A88
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55A4 #A4792A
analogous
#2A92A4 #2A55A4 #3C2AA4
triadic
#2A55A4 #A42A55 #55A42A
tetradic
#2A55A4 #A42A92 #A4792A #2AA43C
square
#2A55A4 #A42A92 #A4792A #2AA43C
split-complementary
#2A55A4 #A43C2A #92A42A
monochromatic
#112243 #1E3C73 #2A55A4 #3E70CD #6E94DA
Accessibility & contrast
On white
7.16
#2A55A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A55A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A55A4
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55A4 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5EA7
Deuteranopia (green-blind)
#0752A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a55a4; /* rgb */ color: rgb(42, 85, 164); /* oklch */ color: oklch(46.3% 0.136 261.3);
Tailwind
colors: {
custom: {
50: '#7484bf',
500: '#2a55a4',
950: '#000000',
},
}SCSS
$custom: #2a55a4; $custom-light: #7484bf; $custom-dark: #000000;
JSON
{
"hex": "#2a55a4",
"rgb": {
"r": 42,
"g": 85,
"b": 164
},
"hsl": {
"h": 218.852,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.46338,
"c": 0.13649,
"h": 261.3
},
"luminance": 0.0967
}Semantic roles & 50–950 ramp
primary
#2A55A4
secondary
#C1A269
accent
#AB45E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81