#2B4AC4#2B4AC4
#2B4AC4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.193 H 267.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4AC4 |
|---|---|
| RGB | rgb(43, 74, 196) |
| HSL | hsl(228, 64%, 47%) |
| HSV | hsv(228, 78%, 77%) |
| CMYK | cmyk(78.1%, 62.2%, 0%, 23.1%) |
| CIE-LAB | lab(36.73, 32.96, -66.72) |
| CIE-LCH | lch(36.73, 74.42, 296.29°) |
| OKLab | oklab(46.73% -0.0095 -0.193) |
| OKLCH | oklch(46.73% 0.193 267.2) |
| XYZ | xyz(13.4054, 9.3951, 53.3208) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.39
Blue (survey)
#0343DF
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.75
Warm Blue
#4B57DB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4AC4 #C4A52B
analogous
#2B97C4 #2B4AC4 #592BC4
triadic
#2B4AC4 #C42B4A #4AC42B
tetradic
#2B4AC4 #C42B97 #C4A52B #2BC459
square
#2B4AC4 #C42B97 #C4A52B #2BC459
split-complementary
#2B4AC4 #C4592B #97C42B
monochromatic
#152460 #203792 #2B4AC4 #536ED9 #8598E4
Accessibility & contrast
On white
7.29
#2B4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2B4AC4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4AC4
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4AC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4AC4 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2b4ac4; /* rgb */ color: rgb(43, 74, 196); /* oklch */ color: oklch(46.7% 0.193 267.2);
Tailwind
colors: {
custom: {
50: '#7d7cd7',
500: '#2b4ac4',
950: '#000000',
},
}SCSS
$custom: #2b4ac4; $custom-light: #7d7cd7; $custom-dark: #000000;
JSON
{
"hex": "#2b4ac4",
"rgb": {
"r": 43,
"g": 74,
"b": 196
},
"hsl": {
"h": 227.843,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.46729,
"c": 0.19321,
"h": 267.2
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#2B4AC4
secondary
#CEBD7D
accent
#C541E7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83