#2A4DC1#2A4DC1
#2A4DC1 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.186 H 266.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC1 |
|---|---|
| RGB | rgb(42, 77, 193) |
| HSL | hsl(226, 64%, 46%) |
| HSV | hsv(226, 78%, 76%) |
| CMYK | cmyk(78.2%, 60.1%, 0%, 24.3%) |
| CIE-LAB | lab(37.20, 29.80, -64.20) |
| CIE-LCH | lch(37.20, 70.78, 294.90°) |
| OKLab | oklab(46.99% -0.0121 -0.1856) |
| OKLCH | oklch(46.99% 0.186 266.3) |
| XYZ | xyz(13.2310, 9.6487, 51.6068) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.48
Blue (survey)
#0343DF
ΔE00 4.61
Warm Blue
#4B57DB
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC1 #C19E2A
analogous
#2A98C1 #2A4DC1 #532AC1
triadic
#2A4DC1 #C12A4D #4DC12A
tetradic
#2A4DC1 #C12A98 #C19E2A #2AC153
square
#2A4DC1 #C12A98 #C19E2A #2AC153
split-complementary
#2A4DC1 #C1532A #98C12A
monochromatic
#14255C #1F398F #2A4DC1 #4F6FD9 #8298E4
Accessibility & contrast
On white
7.17
#2A4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A4DC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DC1
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC1 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4dc1; /* rgb */ color: rgb(42, 77, 193); /* oklch */ color: oklch(47.0% 0.186 266.3);
Tailwind
colors: {
custom: {
50: '#7c7ed5',
500: '#2a4dc1',
950: '#000000',
},
}SCSS
$custom: #2a4dc1; $custom-light: #7c7ed5; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc1",
"rgb": {
"r": 42,
"g": 77,
"b": 193
},
"hsl": {
"h": 226.093,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.46989,
"c": 0.18598,
"h": 266.3
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#2A4DC1
secondary
#CDBA7A
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83