#2A4EB5#2A4EB5
#2A4EB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.169 H 265.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EB5 |
|---|---|
| RGB | rgb(42, 78, 181) |
| HSL | hsl(224, 62%, 44%) |
| HSV | hsv(224, 77%, 71%) |
| CMYK | cmyk(76.8%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.51, 24.61, -58.29) |
| CIE-LCH | lch(36.51, 63.27, 292.89°) |
| OKLab | oklab(46.17% -0.0132 -0.1682) |
| OKLCH | oklch(46.17% 0.169 265.5) |
| XYZ | xyz(12.0168, 9.2759, 44.8642) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.67
Cobalt (survey)
#1E488F
ΔE00 5.76
Blue (survey)
#0343DF
ΔE00 6.23
Dusk Blue
#26538D
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EB5 #B5912A
analogous
#2A93B5 #2A4EB5 #4B2AB5
triadic
#2A4EB5 #B52A4E #4EB52A
tetradic
#2A4EB5 #B52A93 #B5912A #2AB54B
square
#2A4EB5 #B52A93 #B5912A #2AB54B
split-complementary
#2A4EB5 #B54B2A #93B52A
monochromatic
#132352 #1E3983 #2A4EB5 #486CD4 #7994E0
Accessibility & contrast
On white
7.35
#2A4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2A4EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4EB5
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EB5 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4eb5; /* rgb */ color: rgb(42, 78, 181); /* oklch */ color: oklch(46.2% 0.169 265.5);
Tailwind
colors: {
custom: {
50: '#797fcc',
500: '#2a4eb5',
950: '#000000',
},
}SCSS
$custom: #2a4eb5; $custom-light: #797fcc; $custom-dark: #000000;
JSON
{
"hex": "#2a4eb5",
"rgb": {
"r": 42,
"g": 78,
"b": 181
},
"hsl": {
"h": 224.46,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.46171,
"c": 0.16873,
"h": 265.5
},
"luminance": 0.09277
}Semantic roles & 50–950 ramp
primary
#2A4EB5
secondary
#C8B273
accent
#BB42E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82