#2B4CAB#2B4CAB
#2B4CAB is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.157 H 265.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4CAB |
|---|---|
| RGB | rgb(43, 76, 171) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(74.9%, 55.6%, 0%, 32.9%) |
| CIE-LAB | lab(35.25, 22.25, -54.42) |
| CIE-LCH | lch(35.25, 58.79, 292.24°) |
| OKLab | oklab(44.99% -0.0115 -0.1568) |
| OKLCH | oklch(44.99% 0.157 265.8) |
| XYZ | xyz(10.9288, 8.6216, 39.6083) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.66
Sapphire
#0F52BA
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4CAB #AB8A2B
analogous
#2B8CAB #2B4CAB #4A2BAB
triadic
#2B4CAB #AB2B4C #4CAB2B
tetradic
#2B4CAB #AB2B8C #AB8A2B #2BAB4A
square
#2B4CAB #AB2B8C #AB8A2B #2BAB4A
split-complementary
#2B4CAB #AB4A2B #8CAB2B
monochromatic
#122149 #1F367A #2B4CAB #4368D0 #748FDC
Accessibility & contrast
On white
7.71
#2B4CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2B4CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4CAB
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4CAB | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2b4cab; /* rgb */ color: rgb(43, 76, 171); /* oklch */ color: oklch(45.0% 0.157 265.8);
Tailwind
colors: {
custom: {
50: '#777dc5',
500: '#2b4cab',
950: '#000000',
},
}SCSS
$custom: #2b4cab; $custom-light: #777dc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4cab",
"rgb": {
"r": 43,
"g": 76,
"b": 171
},
"hsl": {
"h": 224.531,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.44989,
"c": 0.15725,
"h": 265.8
},
"luminance": 0.08623
}Semantic roles & 50–950 ramp
primary
#2B4CAB
secondary
#C4AE6E
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82