#2A4DC9#2A4DC9
#2A4DC9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.196 H 266.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4DC9 |
|---|---|
| RGB | rgb(42, 77, 201) |
| HSL | hsl(227, 65%, 48%) |
| HSV | hsv(227, 79%, 79%) |
| CMYK | cmyk(79.1%, 61.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.87, 32.78, -67.77) |
| CIE-LCH | lch(37.87, 75.29, 295.81°) |
| OKLab | oklab(47.69% -0.0121 -0.196) |
| OKLCH | oklch(47.69% 0.196 266.5) |
| XYZ | xyz(14.1476, 10.0154, 56.4345) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.28
Blue (survey)
#0343DF
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4DC9 #C9A62A
analogous
#2A9DC9 #2A4DC9 #562AC9
triadic
#2A4DC9 #C92A4D #4DC92A
tetradic
#2A4DC9 #C92A9D #C9A62A #2AC956
square
#2A4DC9 #C92A9D #C9A62A #2AC956
split-complementary
#2A4DC9 #C9562A #9DC92A
monochromatic
#152664 #1F3A96 #2A4DC9 #5572DB #879CE6
Accessibility & contrast
On white
6.99
#2A4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#2A4DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A4DC9
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4DC9 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a4dc9; /* rgb */ color: rgb(42, 77, 201); /* oklch */ color: oklch(47.7% 0.196 266.5);
Tailwind
colors: {
custom: {
50: '#7e7eda',
500: '#2a4dc9',
950: '#000000',
},
}SCSS
$custom: #2a4dc9; $custom-light: #7e7eda; $custom-dark: #000000;
JSON
{
"hex": "#2a4dc9",
"rgb": {
"r": 42,
"g": 77,
"b": 201
},
"hsl": {
"h": 226.792,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.4769,
"c": 0.19642,
"h": 266.5
},
"luminance": 0.10017
}Semantic roles & 50–950 ramp
primary
#2A4DC9
secondary
#D0BE7F
accent
#C33FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83