#2A4DC2#2A4DC2
#2A4DC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.187 H 266.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC2 |
|---|---|
| RGB | rgb(42, 77, 194) |
| HSL | hsl(226, 64%, 46%) |
| HSV | hsv(226, 78%, 76%) |
| CMYK | cmyk(78.4%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(37.29, 30.18, -64.65) |
| CIE-LCH | lch(37.29, 71.35, 295.02°) |
| OKLab | oklab(47.08% -0.0121 -0.1869) |
| OKLCH | oklch(47.08% 0.187 266.3) |
| XYZ | xyz(13.3429, 9.6935, 52.1963) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.42
Sapphire
#0F52BA
ΔE00 3.58
Blue (survey)
#0343DF
ΔE00 4.50
Cobalt
#0047AB
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC2 #C29F2A
analogous
#2A99C2 #2A4DC2 #532AC2
triadic
#2A4DC2 #C22A4D #4DC22A
tetradic
#2A4DC2 #C22A99 #C29F2A #2AC253
square
#2A4DC2 #C22A99 #C29F2A #2AC253
split-complementary
#2A4DC2 #C2532A #99C22A
monochromatic
#14255D #1F3990 #2A4DC2 #5070D9 #8299E4
Accessibility & contrast
On white
7.15
#2A4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2A4DC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DC2
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC2 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4dc2; /* rgb */ color: rgb(42, 77, 194); /* oklch */ color: oklch(47.1% 0.187 266.3);
Tailwind
colors: {
custom: {
50: '#7c7ed5',
500: '#2a4dc2',
950: '#000000',
},
}SCSS
$custom: #2a4dc2; $custom-light: #7c7ed5; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc2",
"rgb": {
"r": 42,
"g": 77,
"b": 194
},
"hsl": {
"h": 226.184,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.47076,
"c": 0.18729,
"h": 266.3
},
"luminance": 0.09695
}Semantic roles & 50–950 ramp
primary
#2A4DC2
secondary
#CDBA7B
accent
#C140E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83