#2A4DC0#2A4DC0
#2A4DC0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.185 H 266.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC0 |
|---|---|
| RGB | rgb(42, 77, 192) |
| HSL | hsl(226, 64%, 46%) |
| HSV | hsv(226, 78%, 75%) |
| CMYK | cmyk(78.1%, 59.9%, 0%, 24.7%) |
| CIE-LAB | lab(37.12, 29.43, -63.75) |
| CIE-LCH | lch(37.12, 70.22, 294.78°) |
| OKLab | oklab(46.9% -0.0122 -0.1843) |
| OKLCH | oklch(46.9% 0.185 266.2) |
| XYZ | xyz(13.1198, 9.6043, 51.0213) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.43
Blue Blue
#2242C7
ΔE00 3.52
Cobalt
#0047AB
ΔE00 4.37
Blue (survey)
#0343DF
ΔE00 4.72
Warm Blue
#4B57DB
ΔE00 6.12
Ocean Blue
#4F42B5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC0 #C09D2A
analogous
#2A98C0 #2A4DC0 #522AC0
triadic
#2A4DC0 #C02A4D #4DC02A
tetradic
#2A4DC0 #C02A98 #C09D2A #2AC052
square
#2A4DC0 #C02A98 #C09D2A #2AC052
split-complementary
#2A4DC0 #C0522A #98C02A
monochromatic
#14255C #1F398E #2A4DC0 #4F6FD8 #8198E3
Accessibility & contrast
On white
7.19
#2A4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2A4DC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DC0
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC0 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a4dc0; /* rgb */ color: rgb(42, 77, 192); /* oklch */ color: oklch(46.9% 0.185 266.2);
Tailwind
colors: {
custom: {
50: '#7b7ed4',
500: '#2a4dc0',
950: '#000000',
},
}SCSS
$custom: #2a4dc0; $custom-light: #7b7ed4; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc0",
"rgb": {
"r": 42,
"g": 77,
"b": 192
},
"hsl": {
"h": 226,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.46903,
"c": 0.18466,
"h": 266.2
},
"luminance": 0.09606
}Semantic roles & 50–950 ramp
primary
#2A4DC0
secondary
#CCB97A
accent
#C041E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83