#2A4EC9#2A4EC9
#2A4EC9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.195 H 266.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4EC9 |
|---|---|
| RGB | rgb(42, 78, 201) |
| HSL | hsl(226, 65%, 48%) |
| HSV | hsv(226, 79%, 79%) |
| CMYK | cmyk(79.1%, 61.2%, 0%, 21.2%) |
| CIE-LAB | lab(38.12, 32.14, -67.36) |
| CIE-LCH | lch(38.12, 74.64, 295.51°) |
| OKLab | oklab(47.88% -0.0127 -0.1948) |
| OKLCH | oklch(47.88% 0.195 266.3) |
| XYZ | xyz(14.2181, 10.1564, 56.4580) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 3.99
Blue (survey)
#0343DF
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.45
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4EC9 #C9A52A
analogous
#2A9EC9 #2A4EC9 #552AC9
triadic
#2A4EC9 #C92A4E #4EC92A
tetradic
#2A4EC9 #C92A9E #C9A52A #2AC955
square
#2A4EC9 #C92A9E #C9A52A #2AC955
split-complementary
#2A4EC9 #C9552A #9EC92A
monochromatic
#152764 #1F3A96 #2A4EC9 #5573DB #879DE6
Accessibility & contrast
On white
6.93
#2A4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A4EC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A4EC9
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4EC9 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a4ec9; /* rgb */ color: rgb(42, 78, 201); /* oklch */ color: oklch(47.9% 0.195 266.3);
Tailwind
colors: {
custom: {
50: '#7d7fda',
500: '#2a4ec9',
950: '#000000',
},
}SCSS
$custom: #2a4ec9; $custom-light: #7d7fda; $custom-dark: #000000;
JSON
{
"hex": "#2a4ec9",
"rgb": {
"r": 42,
"g": 78,
"b": 201
},
"hsl": {
"h": 226.415,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.47877,
"c": 0.19524,
"h": 266.3
},
"luminance": 0.10158
}Semantic roles & 50–950 ramp
primary
#2A4EC9
secondary
#D0BD7F
accent
#C23FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83