#2A4FC1#2A4FC1
#2A4FC1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.184 H 265.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FC1 |
|---|---|
| RGB | rgb(42, 79, 193) |
| HSL | hsl(225, 64%, 46%) |
| HSV | hsv(225, 78%, 76%) |
| CMYK | cmyk(78.2%, 59.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.72, 28.50, -63.36) |
| CIE-LCH | lch(37.72, 69.47, 294.22°) |
| OKLab | oklab(47.38% -0.0134 -0.1831) |
| OKLCH | oklch(47.38% 0.184 265.8) |
| XYZ | xyz(13.3731, 9.9329, 51.6542) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Blue Blue
#2242C7
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.59
Blue (survey)
#0343DF
ΔE00 5.04
Warm Blue
#4B57DB
ΔE00 5.87
Azul
#1D5DEC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FC1 #C19C2A
analogous
#2A9AC1 #2A4FC1 #502AC1
triadic
#2A4FC1 #C12A4F #4FC12A
tetradic
#2A4FC1 #C12A9A #C19C2A #2AC150
square
#2A4FC1 #C12A9A #C19C2A #2AC150
split-complementary
#2A4FC1 #C1502A #9AC12A
monochromatic
#14265C #1F3A8F #2A4FC1 #4F71D9 #829AE4
Accessibility & contrast
On white
7.03
#2A4FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2A4FC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FC1
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FC1 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0052BF
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a4fc1; /* rgb */ color: rgb(42, 79, 193); /* oklch */ color: oklch(47.4% 0.184 265.8);
Tailwind
colors: {
custom: {
50: '#7b7fd5',
500: '#2a4fc1',
950: '#000000',
},
}SCSS
$custom: #2a4fc1; $custom-light: #7b7fd5; $custom-dark: #000000;
JSON
{
"hex": "#2a4fc1",
"rgb": {
"r": 42,
"g": 79,
"b": 193
},
"hsl": {
"h": 225.298,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.47375,
"c": 0.18357,
"h": 265.8
},
"luminance": 0.09934
}Semantic roles & 50–950 ramp
primary
#2A4FC1
secondary
#CDB87A
accent
#BE41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83