#2B4CAC#2B4CAC
#2B4CAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.159 H 265.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CAC |
|---|---|
| RGB | rgb(43, 76, 172) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75%, 55.8%, 0%, 32.5%) |
| CIE-LAB | lab(35.32, 22.63, -54.89) |
| CIE-LCH | lch(35.32, 59.37, 292.41°) |
| OKLab | oklab(45.07% -0.0114 -0.1582) |
| OKLCH | oklch(45.07% 0.159 265.9) |
| XYZ | xyz(11.0245, 8.6598, 40.1122) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Sapphire
#0F52BA
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 5.82
Sapphire (survey)
#2138AB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CAC #AC8B2B
analogous
#2B8DAC #2B4CAC #4A2BAC
triadic
#2B4CAC #AC2B4C #4CAC2B
tetradic
#2B4CAC #AC2B8D #AC8B2B #2BAC4A
square
#2B4CAC #AC2B8D #AC8B2B #2BAC4A
split-complementary
#2B4CAC #AC4A2B #8DAC2B
monochromatic
#13214A #1F367B #2B4CAC #4468D0 #758FDC
Accessibility & contrast
On white
7.69
#2B4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2B4CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CAC
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CAC | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4cac; /* rgb */ color: rgb(43, 76, 172); /* oklch */ color: oklch(45.1% 0.159 265.9);
Tailwind
colors: {
custom: {
50: '#777dc5',
500: '#2b4cac',
950: '#000000',
},
}SCSS
$custom: #2b4cac; $custom-light: #777dc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4cac",
"rgb": {
"r": 43,
"g": 76,
"b": 172
},
"hsl": {
"h": 224.651,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.4507,
"c": 0.15863,
"h": 265.9
},
"luminance": 0.08661
}Semantic roles & 50–950 ramp
primary
#2B4CAC
secondary
#C4AE6F
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82