#2B4FA4#2B4FA4
#2B4FA4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.144 H 264.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FA4 |
|---|---|
| RGB | rgb(43, 79, 164) |
| HSL | hsl(222, 58%, 41%) |
| HSV | hsv(222, 74%, 64%) |
| CMYK | cmyk(73.8%, 51.8%, 0%, 35.7%) |
| CIE-LAB | lab(35.57, 17.57, -49.72) |
| CIE-LCH | lch(35.57, 52.73, 289.47°) |
| OKLab | oklab(45.07% -0.0146 -0.143) |
| OKLCH | oklch(45.07% 0.144 264.2) |
| XYZ | xyz(10.4907, 8.7848, 36.2575) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.18
Cobalt (survey)
#1E488F
ΔE00 3.70
Dusk Blue
#26538D
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 4.82
Light Navy Blue
#2E5A88
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FA4 #A4802B
analogous
#2B8BA4 #2B4FA4 #442BA4
triadic
#2B4FA4 #A42B4F #4FA42B
tetradic
#2B4FA4 #A42B8B #A4802B #2BA444
square
#2B4FA4 #A42B8B #A4802B #2BA444
split-complementary
#2B4FA4 #A4442B #8BA42B
monochromatic
#122043 #1E3874 #2B4FA4 #3F69CD #708FD9
Accessibility & contrast
On white
7.62
#2B4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2B4FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FA4
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FA4 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b4fa4; /* rgb */ color: rgb(43, 79, 164); /* oklch */ color: oklch(45.1% 0.144 264.2);
Tailwind
colors: {
custom: {
50: '#757fc0',
500: '#2b4fa4',
950: '#000000',
},
}SCSS
$custom: #2b4fa4; $custom-light: #757fc0; $custom-dark: #000000;
JSON
{
"hex": "#2b4fa4",
"rgb": {
"r": 43,
"g": 79,
"b": 164
},
"hsl": {
"h": 222.149,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.4507,
"c": 0.1437,
"h": 264.2
},
"luminance": 0.08786
}Semantic roles & 50–950 ramp
primary
#2B4FA4
secondary
#C1A76A
accent
#B346E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81