#2A4BC3#2A4BC3
#2A4BC3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.191 H 266.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BC3 |
|---|---|
| RGB | rgb(42, 75, 195) |
| HSL | hsl(227, 65%, 46%) |
| HSV | hsv(227, 78%, 76%) |
| CMYK | cmyk(78.5%, 61.5%, 0%, 23.5%) |
| CIE-LAB | lab(36.86, 31.85, -65.93) |
| CIE-LCH | lch(36.86, 73.22, 295.78°) |
| OKLab | oklab(46.79% -0.0109 -0.1907) |
| OKLCH | oklch(46.79% 0.191 266.7) |
| XYZ | xyz(13.3178, 9.4630, 52.7438) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.75
Blue (survey)
#0343DF
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 6.04
Ocean Blue
#4F42B5
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BC3 #C3A22A
analogous
#2A98C3 #2A4BC3 #562AC3
triadic
#2A4BC3 #C32A4B #4BC32A
tetradic
#2A4BC3 #C32A98 #C3A22A #2AC356
square
#2A4BC3 #C32A98 #C3A22A #2AC356
split-complementary
#2A4BC3 #C3562A #98C32A
monochromatic
#14245E #1F3891 #2A4BC3 #516ED9 #8398E4
Accessibility & contrast
On white
7.26
#2A4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2A4BC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BC3
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BC3 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a4bc3; /* rgb */ color: rgb(42, 75, 195); /* oklch */ color: oklch(46.8% 0.191 266.7);
Tailwind
colors: {
custom: {
50: '#7c7dd6',
500: '#2a4bc3',
950: '#000000',
},
}SCSS
$custom: #2a4bc3; $custom-light: #7c7dd6; $custom-dark: #000000;
JSON
{
"hex": "#2a4bc3",
"rgb": {
"r": 42,
"g": 75,
"b": 195
},
"hsl": {
"h": 227.059,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.46785,
"c": 0.19099,
"h": 266.7
},
"luminance": 0.09465
}Semantic roles & 50–950 ramp
primary
#2A4BC3
secondary
#CDBC7B
accent
#C340E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83