#2A4FBD#2A4FBD
#2A4FBD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.178 H 265.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FBD |
|---|---|
| RGB | rgb(42, 79, 189) |
| HSL | hsl(225, 64%, 45%) |
| HSV | hsv(225, 78%, 74%) |
| CMYK | cmyk(77.8%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(37.40, 26.99, -61.54) |
| CIE-LCH | lch(37.40, 67.20, 293.68°) |
| OKLab | oklab(47.04% -0.0135 -0.1777) |
| OKLCH | oklch(47.04% 0.178 265.6) |
| XYZ | xyz(12.9329, 9.7569, 49.3359) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Cobalt
#0047AB
ΔE00 4.17
Blue Blue
#2242C7
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 5.48
Warm Blue
#4B57DB
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FBD #BD982A
analogous
#2A98BD #2A4FBD #4F2ABD
triadic
#2A4FBD #BD2A4F #4FBD2A
tetradic
#2A4FBD #BD2A98 #BD982A #2ABD4F
square
#2A4FBD #BD2A98 #BD982A #2ABD4F
split-complementary
#2A4FBD #BD4F2A #98BD2A
monochromatic
#142559 #1F3A8B #2A4FBD #4D70D7 #7F98E3
Accessibility & contrast
On white
7.11
#2A4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2A4FBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FBD
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FBD | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4fbd; /* rgb */ color: rgb(42, 79, 189); /* oklch */ color: oklch(47.0% 0.178 265.6);
Tailwind
colors: {
custom: {
50: '#7a7fd2',
500: '#2a4fbd',
950: '#000000',
},
}SCSS
$custom: #2a4fbd; $custom-light: #7a7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2a4fbd",
"rgb": {
"r": 42,
"g": 79,
"b": 189
},
"hsl": {
"h": 224.898,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.47037,
"c": 0.17826,
"h": 265.6
},
"luminance": 0.09758
}Semantic roles & 50–950 ramp
primary
#2A4FBD
secondary
#CBB678
accent
#BD41E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83