#2A4DC7#2A4DC7
#2A4DC7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.194 H 266.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC7 |
|---|---|
| RGB | rgb(42, 77, 199) |
| HSL | hsl(227, 65%, 47%) |
| HSV | hsv(227, 79%, 78%) |
| CMYK | cmyk(78.9%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(37.70, 32.04, -66.89) |
| CIE-LCH | lch(37.70, 74.17, 295.60°) |
| OKLab | oklab(47.51% -0.0121 -0.1934) |
| OKLCH | oklch(47.51% 0.194 266.4) |
| XYZ | xyz(13.9139, 9.9219, 55.2036) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.29
Blue (survey)
#0343DF
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 4.01
Cobalt
#0047AB
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC7 #C7A42A
analogous
#2A9CC7 #2A4DC7 #552AC7
triadic
#2A4DC7 #C72A4D #4DC72A
tetradic
#2A4DC7 #C72A9C #C7A42A #2AC755
square
#2A4DC7 #C72A9C #C7A42A #2AC755
split-complementary
#2A4DC7 #C7552A #9CC72A
monochromatic
#152662 #1F3994 #2A4DC7 #5372DB #869BE5
Accessibility & contrast
On white
7.04
#2A4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2A4DC7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DC7
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC7 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a4dc7; /* rgb */ color: rgb(42, 77, 199); /* oklch */ color: oklch(47.5% 0.194 266.4);
Tailwind
colors: {
custom: {
50: '#7d7ed9',
500: '#2a4dc7',
950: '#000000',
},
}SCSS
$custom: #2a4dc7; $custom-light: #7d7ed9; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc7",
"rgb": {
"r": 42,
"g": 77,
"b": 199
},
"hsl": {
"h": 226.624,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.47513,
"c": 0.19383,
"h": 266.4
},
"luminance": 0.09924
}Semantic roles & 50–950 ramp
primary
#2A4DC7
secondary
#CFBD7E
accent
#C340E8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0B0A15
muted
#7C7C83