#2A4FBB#2A4FBB
#2A4FBB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.176 H 265.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FBB |
|---|---|
| RGB | rgb(42, 79, 187) |
| HSL | hsl(225, 63%, 45%) |
| HSV | hsv(225, 78%, 73%) |
| CMYK | cmyk(77.5%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(37.24, 26.23, -60.63) |
| CIE-LCH | lch(37.24, 66.06, 293.40°) |
| OKLab | oklab(46.87% -0.0136 -0.175) |
| OKLCH | oklch(46.87% 0.176 265.5) |
| XYZ | xyz(12.7173, 9.6706, 48.2004) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.59
Cobalt
#0047AB
ΔE00 3.98
Blue Blue
#2242C7
ΔE00 4.47
Blue (survey)
#0343DF
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 6.54
Cobalt (survey)
#1E488F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FBB #BB962A
analogous
#2A97BB #2A4FBB #4E2ABB
triadic
#2A4FBB #BB2A4F #4FBB2A
tetradic
#2A4FBB #BB2A97 #BB962A #2ABB4E
square
#2A4FBB #BB2A97 #BB962A #2ABB4E
split-complementary
#2A4FBB #BB4E2A #97BB2A
monochromatic
#142557 #1F3A89 #2A4FBB #4C6FD7 #7D97E2
Accessibility & contrast
On white
7.16
#2A4FBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2A4FBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FBB
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FBB | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4fbb; /* rgb */ color: rgb(42, 79, 187); /* oklch */ color: oklch(46.9% 0.176 265.5);
Tailwind
colors: {
custom: {
50: '#7a7fd0',
500: '#2a4fbb',
950: '#000000',
},
}SCSS
$custom: #2a4fbb; $custom-light: #7a7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2a4fbb",
"rgb": {
"r": 42,
"g": 79,
"b": 187
},
"hsl": {
"h": 224.69,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.46869,
"c": 0.17558,
"h": 265.5
},
"luminance": 0.09672
}Semantic roles & 50–950 ramp
primary
#2A4FBB
secondary
#CAB576
accent
#BC41E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82