#2A4CAE#2A4CAE
#2A4CAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.162 H 265.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4CAE |
|---|---|
| RGB | rgb(42, 76, 174) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 76%, 68%) |
| CMYK | cmyk(75.9%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(35.43, 23.27, -55.90) |
| CIE-LCH | lch(35.43, 60.55, 292.60°) |
| OKLab | oklab(45.19% -0.0122 -0.1612) |
| OKLCH | oklch(45.19% 0.162 265.7) |
| XYZ | xyz(11.1766, 8.7159, 41.1295) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.19
Cobalt (survey)
#1E488F
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 4.87
Dusk Blue
#26538D
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4CAE #AE8C2A
analogous
#2A8EAE #2A4CAE #4A2AAE
triadic
#2A4CAE #AE2A4C #4CAE2A
tetradic
#2A4CAE #AE2A8E #AE8C2A #2AAE4A
square
#2A4CAE #AE2A8E #AE8C2A #2AAE4A
split-complementary
#2A4CAE #AE4A2A #8EAE2A
monochromatic
#12214B #1E367D #2A4CAE #4368D2 #7590DE
Accessibility & contrast
On white
7.65
#2A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A4CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4CAE
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4CAE | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4cae; /* rgb */ color: rgb(42, 76, 174); /* oklch */ color: oklch(45.2% 0.162 265.7);
Tailwind
colors: {
custom: {
50: '#777dc7',
500: '#2a4cae',
950: '#000000',
},
}SCSS
$custom: #2a4cae; $custom-light: #777dc7; $custom-dark: #000000;
JSON
{
"hex": "#2a4cae",
"rgb": {
"r": 42,
"g": 76,
"b": 174
},
"hsl": {
"h": 224.545,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.4519,
"c": 0.16167,
"h": 265.7
},
"luminance": 0.08717
}Semantic roles & 50–950 ramp
primary
#2A4CAE
secondary
#C5AF6F
accent
#BB44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82