#2A4EB4#2A4EB4
#2A4EB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.167 H 265.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EB4 |
|---|---|
| RGB | rgb(42, 78, 180) |
| HSL | hsl(224, 62%, 44%) |
| HSV | hsv(224, 77%, 71%) |
| CMYK | cmyk(76.7%, 56.7%, 0%, 29.4%) |
| CIE-LAB | lab(36.43, 24.23, -57.83) |
| CIE-LCH | lch(36.43, 62.70, 292.74°) |
| OKLab | oklab(46.09% -0.0133 -0.1668) |
| OKLCH | oklch(46.09% 0.167 265.4) |
| XYZ | xyz(11.9145, 9.2350, 44.3258) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.60
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.63
Dusk Blue
#26538D
ΔE00 6.23
Blue (survey)
#0343DF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EB4 #B4902A
analogous
#2A93B4 #2A4EB4 #4B2AB4
triadic
#2A4EB4 #B42A4E #4EB42A
tetradic
#2A4EB4 #B42A93 #B4902A #2AB44B
square
#2A4EB4 #B42A93 #B4902A #2AB44B
split-complementary
#2A4EB4 #B44B2A #93B42A
monochromatic
#132351 #1E3882 #2A4EB4 #476CD4 #7994E0
Accessibility & contrast
On white
7.38
#2A4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2A4EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4EB4
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EB4 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4eb4; /* rgb */ color: rgb(42, 78, 180); /* oklch */ color: oklch(46.1% 0.167 265.4);
Tailwind
colors: {
custom: {
50: '#787fcb',
500: '#2a4eb4',
950: '#000000',
},
}SCSS
$custom: #2a4eb4; $custom-light: #787fcb; $custom-dark: #000000;
JSON
{
"hex": "#2a4eb4",
"rgb": {
"r": 42,
"g": 78,
"b": 180
},
"hsl": {
"h": 224.348,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.46088,
"c": 0.16737,
"h": 265.4
},
"luminance": 0.09236
}Semantic roles & 50–950 ramp
primary
#2A4EB4
secondary
#C8B172
accent
#BB43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82