#2A4DC3#2A4DC3
#2A4DC3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.189 H 266.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC3 |
|---|---|
| RGB | rgb(42, 77, 195) |
| HSL | hsl(226, 65%, 46%) |
| HSV | hsv(226, 78%, 76%) |
| CMYK | cmyk(78.5%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(37.37, 30.55, -65.10) |
| CIE-LCH | lch(37.37, 71.91, 295.14°) |
| OKLab | oklab(47.16% -0.0121 -0.1882) |
| OKLCH | oklch(47.16% 0.189 266.3) |
| XYZ | xyz(13.4556, 9.7386, 52.7898) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.66
Blue (survey)
#0343DF
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC3 #C3A02A
analogous
#2A9AC3 #2A4DC3 #542AC3
triadic
#2A4DC3 #C32A4D #4DC32A
tetradic
#2A4DC3 #C32A9A #C3A02A #2AC354
square
#2A4DC3 #C32A9A #C3A02A #2AC354
split-complementary
#2A4DC3 #C3542A #9AC32A
monochromatic
#14255E #1F3991 #2A4DC3 #5170D9 #8399E4
Accessibility & contrast
On white
7.12
#2A4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2A4DC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4DC3
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC3 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4dc3; /* rgb */ color: rgb(42, 77, 195); /* oklch */ color: oklch(47.2% 0.189 266.3);
Tailwind
colors: {
custom: {
50: '#7c7ed6',
500: '#2a4dc3',
950: '#000000',
},
}SCSS
$custom: #2a4dc3; $custom-light: #7c7ed6; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc3",
"rgb": {
"r": 42,
"g": 77,
"b": 195
},
"hsl": {
"h": 226.275,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.47163,
"c": 0.18861,
"h": 266.3
},
"luminance": 0.0974
}Semantic roles & 50–950 ramp
primary
#2A4DC3
secondary
#CDBB7B
accent
#C140E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83