#2A4FC4#2A4FC4
#2A4FC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.188 H 265.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FC4 |
|---|---|
| RGB | rgb(42, 79, 196) |
| HSL | hsl(226, 65%, 47%) |
| HSV | hsv(226, 79%, 77%) |
| CMYK | cmyk(78.6%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(37.96, 29.62, -64.71) |
| CIE-LCH | lch(37.96, 71.17, 294.60°) |
| OKLab | oklab(47.63% -0.0133 -0.187) |
| OKLCH | oklch(47.63% 0.188 265.9) |
| XYZ | xyz(13.7111, 10.0681, 53.4346) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 4.00
Blue (survey)
#0343DF
ΔE00 4.74
Cobalt
#0047AB
ΔE00 4.92
Warm Blue
#4B57DB
ΔE00 5.54
Azul
#1D5DEC
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FC4 #C49F2A
analogous
#2A9CC4 #2A4FC4 #522AC4
triadic
#2A4FC4 #C42A4F #4FC42A
tetradic
#2A4FC4 #C42A9C #C49F2A #2AC452
square
#2A4FC4 #C42A9C #C49F2A #2AC452
split-complementary
#2A4FC4 #C4522A #9CC42A
monochromatic
#14265F #1F3B92 #2A4FC4 #5172DA #849BE5
Accessibility & contrast
On white
6.97
#2A4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2A4FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A4FC4
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FC4 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a4fc4; /* rgb */ color: rgb(42, 79, 196); /* oklch */ color: oklch(47.6% 0.188 265.9);
Tailwind
colors: {
custom: {
50: '#7c7fd7',
500: '#2a4fc4',
950: '#000000',
},
}SCSS
$custom: #2a4fc4; $custom-light: #7c7fd7; $custom-dark: #000000;
JSON
{
"hex": "#2a4fc4",
"rgb": {
"r": 42,
"g": 79,
"b": 196
},
"hsl": {
"h": 225.584,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.47632,
"c": 0.18753,
"h": 265.9
},
"luminance": 0.1007
}Semantic roles & 50–950 ramp
primary
#2A4FC4
secondary
#CEBA7C
accent
#BF40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83