#2B4BAB#2B4BAB
#2B4BAB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.159 H 266.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BAB |
|---|---|
| RGB | rgb(43, 75, 171) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(74.9%, 56.1%, 0%, 32.9%) |
| CIE-LAB | lab(34.97, 22.92, -54.86) |
| CIE-LCH | lch(34.97, 59.45, 292.67°) |
| OKLab | oklab(44.78% -0.0107 -0.1582) |
| OKLCH | oklch(44.78% 0.159 266.1) |
| XYZ | xyz(10.8604, 8.4848, 39.5855) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.61
Sapphire
#0F52BA
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.95
Dusk Blue
#26538D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BAB #AB8B2B
analogous
#2B8BAB #2B4BAB #4B2BAB
triadic
#2B4BAB #AB2B4B #4BAB2B
tetradic
#2B4BAB #AB2B8B #AB8B2B #2BAB4B
square
#2B4BAB #AB2B8B #AB8B2B #2BAB4B
split-complementary
#2B4BAB #AB4B2B #8BAB2B
monochromatic
#122049 #1F367A #2B4BAB #4366D0 #748EDC
Accessibility & contrast
On white
7.79
#2B4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2B4BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BAB
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BAB | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b4bab; /* rgb */ color: rgb(43, 75, 171); /* oklch */ color: oklch(44.8% 0.159 266.1);
Tailwind
colors: {
custom: {
50: '#777cc5',
500: '#2b4bab',
950: '#000000',
},
}SCSS
$custom: #2b4bab; $custom-light: #777cc5; $custom-dark: #000000;
JSON
{
"hex": "#2b4bab",
"rgb": {
"r": 43,
"g": 75,
"b": 171
},
"hsl": {
"h": 225,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.44784,
"c": 0.15851,
"h": 266.1
},
"luminance": 0.08486
}Semantic roles & 50–950 ramp
primary
#2B4BAB
secondary
#C4AE6E
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82