#2A4FB2#2A4FB2
#2A4FB2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.163 H 265.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FB2 |
|---|---|
| RGB | rgb(42, 79, 178) |
| HSL | hsl(224, 62%, 43%) |
| HSV | hsv(224, 76%, 70%) |
| CMYK | cmyk(76.4%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(36.55, 22.81, -56.45) |
| CIE-LCH | lch(36.55, 60.89, 292.00°) |
| OKLab | oklab(46.13% -0.0141 -0.1628) |
| OKLCH | oklch(46.13% 0.163 265) |
| XYZ | xyz(11.7839, 9.2972, 43.2843) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.81
Denim Blue
#3B5B92
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FB2 #B28D2A
analogous
#2A93B2 #2A4FB2 #492AB2
triadic
#2A4FB2 #B22A4F #4FB22A
tetradic
#2A4FB2 #B22A93 #B28D2A #2AB249
square
#2A4FB2 #B22A93 #B28D2A #2AB249
split-complementary
#2A4FB2 #B2492A #93B22A
monochromatic
#13234F #1E3980 #2A4FB2 #466CD3 #7794DF
Accessibility & contrast
On white
7.34
#2A4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2A4FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FB2
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FB2 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4fb2; /* rgb */ color: rgb(42, 79, 178); /* oklch */ color: oklch(46.1% 0.163 265.0);
Tailwind
colors: {
custom: {
50: '#787fca',
500: '#2a4fb2',
950: '#000000',
},
}SCSS
$custom: #2a4fb2; $custom-light: #787fca; $custom-dark: #000000;
JSON
{
"hex": "#2a4fb2",
"rgb": {
"r": 42,
"g": 79,
"b": 178
},
"hsl": {
"h": 223.676,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.46129,
"c": 0.1634,
"h": 265
},
"luminance": 0.09299
}Semantic roles & 50–950 ramp
primary
#2A4FB2
secondary
#C7AF71
accent
#B943E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82