#2B4ABC#2B4ABC
#2B4ABC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.183 H 267.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4ABC |
|---|---|
| RGB | rgb(43, 74, 188) |
| HSL | hsl(227, 63%, 45%) |
| HSV | hsv(227, 77%, 74%) |
| CMYK | cmyk(77.1%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.06, 29.99, -63.14) |
| CIE-LCH | lch(36.06, 69.90, 295.41°) |
| OKLab | oklab(46.02% -0.0095 -0.1825) |
| OKLCH | oklch(46.02% 0.183 267) |
| XYZ | xyz(12.5190, 9.0406, 48.6524) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.85
Cobalt
#0047AB
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.09
Blue (survey)
#0343DF
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4ABC #BC9D2B
analogous
#2B93BC #2B4ABC #542BBC
triadic
#2B4ABC #BC2B4A #4ABC2B
tetradic
#2B4ABC #BC2B93 #BC9D2B #2BBC54
square
#2B4ABC #BC2B93 #BC9D2B #2BBC54
split-complementary
#2B4ABC #BC542B #93BC2B
monochromatic
#142358 #20368A #2B4ABC #4E6BD6 #8095E2
Accessibility & contrast
On white
7.48
#2B4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2B4ABC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4ABC
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4ABC | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b4abc; /* rgb */ color: rgb(43, 74, 188); /* oklch */ color: oklch(46.0% 0.183 267.0);
Tailwind
colors: {
custom: {
50: '#7b7cd1',
500: '#2b4abc',
950: '#000000',
},
}SCSS
$custom: #2b4abc; $custom-light: #7b7cd1; $custom-dark: #000000;
JSON
{
"hex": "#2b4abc",
"rgb": {
"r": 43,
"g": 74,
"b": 188
},
"hsl": {
"h": 227.172,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.46022,
"c": 0.18273,
"h": 267
},
"luminance": 0.09042
}Semantic roles & 50–950 ramp
primary
#2B4ABC
secondary
#CBB978
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83