#2A4FB9#2A4FB9
#2A4FB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.173 H 265.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FB9 |
|---|---|
| RGB | rgb(42, 79, 185) |
| HSL | hsl(224, 63%, 45%) |
| HSV | hsv(224, 77%, 73%) |
| CMYK | cmyk(77.3%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(37.09, 25.47, -59.71) |
| CIE-LCH | lch(37.09, 64.91, 293.11°) |
| OKLab | oklab(46.7% -0.0137 -0.1723) |
| OKLCH | oklch(46.7% 0.173 265.4) |
| XYZ | xyz(12.5047, 9.5856, 47.0807) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.48
Cobalt
#0047AB
ΔE00 3.79
Blue Blue
#2242C7
ΔE00 4.62
Blue (survey)
#0343DF
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 6.30
Denim Blue
#3B5B92
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FB9 #B9942A
analogous
#2A96B9 #2A4FB9 #4D2AB9
triadic
#2A4FB9 #B92A4F #4FB92A
tetradic
#2A4FB9 #B92A96 #B9942A #2AB94D
square
#2A4FB9 #B92A96 #B9942A #2AB94D
split-complementary
#2A4FB9 #B94D2A #96B92A
monochromatic
#132455 #1F3A87 #2A4FB9 #4A6ED6 #7C96E1
Accessibility & contrast
On white
7.20
#2A4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2A4FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FB9
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FB9 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a4fb9; /* rgb */ color: rgb(42, 79, 185); /* oklch */ color: oklch(46.7% 0.173 265.4);
Tailwind
colors: {
custom: {
50: '#7a7fcf',
500: '#2a4fb9',
950: '#000000',
},
}SCSS
$custom: #2a4fb9; $custom-light: #7a7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2a4fb9",
"rgb": {
"r": 42,
"g": 79,
"b": 185
},
"hsl": {
"h": 224.476,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.46703,
"c": 0.1729,
"h": 265.4
},
"luminance": 0.09587
}Semantic roles & 50–950 ramp
primary
#2A4FB9
secondary
#CAB475
accent
#BC42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82