#2B4FBC#2B4FBC
#2B4FBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.177 H 265.8°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4FBC |
|---|---|
| RGB | rgb(43, 79, 188) |
| HSL | hsl(225, 63%, 45%) |
| HSV | hsv(225, 77%, 74%) |
| CMYK | cmyk(77.1%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.36, 26.72, -61.02) |
| CIE-LCH | lch(37.36, 66.61, 293.65°) |
| OKLab | oklab(46.99% -0.0128 -0.1762) |
| OKLCH | oklch(46.99% 0.177 265.8) |
| XYZ | xyz(12.8661, 9.7349, 48.7681) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Cobalt
#0047AB
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.37
Blue (survey)
#0343DF
ΔE00 5.57
Warm Blue
#4B57DB
ΔE00 6.36
Cobalt (survey)
#1E488F
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4FBC #BC982B
analogous
#2B98BC #2B4FBC #4F2BBC
triadic
#2B4FBC #BC2B4F #4FBC2B
tetradic
#2B4FBC #BC2B98 #BC982B #2BBC4F
square
#2B4FBC #BC2B98 #BC982B #2BBC4F
split-complementary
#2B4FBC #BC4F2B #98BC2B
monochromatic
#142558 #203A8A #2B4FBC #4E70D6 #8098E2
Accessibility & contrast
On white
7.13
#2B4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2B4FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4FBC
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4FBC | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2b4fbc; /* rgb */ color: rgb(43, 79, 188); /* oklch */ color: oklch(47.0% 0.177 265.8);
Tailwind
colors: {
custom: {
50: '#7b7fd1',
500: '#2b4fbc',
950: '#000000',
},
}SCSS
$custom: #2b4fbc; $custom-light: #7b7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2b4fbc",
"rgb": {
"r": 43,
"g": 79,
"b": 188
},
"hsl": {
"h": 225.103,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.46993,
"c": 0.17665,
"h": 265.8
},
"luminance": 0.09736
}Semantic roles & 50–950 ramp
primary
#2B4FBC
secondary
#CBB678
accent
#BD42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82