#2A4FC2#2A4FC2
#2A4FC2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.185 H 265.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FC2 |
|---|---|
| RGB | rgb(42, 79, 194) |
| HSL | hsl(225, 64%, 46%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(78.4%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(37.80, 28.87, -63.81) |
| CIE-LCH | lch(37.80, 70.04, 294.35°) |
| OKLab | oklab(47.46% -0.0134 -0.1844) |
| OKLCH | oklch(47.46% 0.185 265.8) |
| XYZ | xyz(13.4850, 9.9777, 52.2437) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.70
Blue (survey)
#0343DF
ΔE00 4.94
Warm Blue
#4B57DB
ΔE00 5.76
Azul
#1D5DEC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FC2 #C29D2A
analogous
#2A9BC2 #2A4FC2 #512AC2
triadic
#2A4FC2 #C22A4F #4FC22A
tetradic
#2A4FC2 #C22A9B #C29D2A #2AC251
square
#2A4FC2 #C22A9B #C29D2A #2AC251
split-complementary
#2A4FC2 #C2512A #9BC22A
monochromatic
#14265D #1F3B90 #2A4FC2 #5071D9 #829AE4
Accessibility & contrast
On white
7.01
#2A4FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#2A4FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A4FC2
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FC2 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a4fc2; /* rgb */ color: rgb(42, 79, 194); /* oklch */ color: oklch(47.5% 0.185 265.8);
Tailwind
colors: {
custom: {
50: '#7c7fd5',
500: '#2a4fc2',
950: '#000000',
},
}SCSS
$custom: #2a4fc2; $custom-light: #7c7fd5; $custom-dark: #000000;
JSON
{
"hex": "#2a4fc2",
"rgb": {
"r": 42,
"g": 79,
"b": 194
},
"hsl": {
"h": 225.395,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.47461,
"c": 0.18489,
"h": 265.8
},
"luminance": 0.09979
}Semantic roles & 50–950 ramp
primary
#2A4FC2
secondary
#CDB97B
accent
#BF40E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83