#2B4BAA#2B4BAA
#2B4BAA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.157 H 266.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4BAA |
|---|---|
| RGB | rgb(43, 75, 170) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(74.7%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(34.90, 22.54, -54.39) |
| CIE-LCH | lch(34.90, 58.87, 292.51°) |
| OKLab | oklab(44.7% -0.0108 -0.1568) |
| OKLCH | oklch(44.7% 0.157 266.1) |
| XYZ | xyz(10.7655, 8.4469, 39.0855) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.58
Sapphire
#0F52BA
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4BAA #AA8A2B
analogous
#2B8BAA #2B4BAA #4B2BAA
triadic
#2B4BAA #AA2B4B #4BAA2B
tetradic
#2B4BAA #AA2B8B #AA8A2B #2BAA4B
square
#2B4BAA #AA2B8B #AA8A2B #2BAA4B
split-complementary
#2B4BAA #AA4B2B #8BAA2B
monochromatic
#122048 #1F3579 #2B4BAA #4366CF #748EDC
Accessibility & contrast
On white
7.81
#2B4BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2B4BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4BAA
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4BAA | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b4baa; /* rgb */ color: rgb(43, 75, 170); /* oklch */ color: oklch(44.7% 0.157 266.1);
Tailwind
colors: {
custom: {
50: '#777cc4',
500: '#2b4baa',
950: '#000000',
},
}SCSS
$custom: #2b4baa; $custom-light: #777cc4; $custom-dark: #000000;
JSON
{
"hex": "#2b4baa",
"rgb": {
"r": 43,
"g": 75,
"b": 170
},
"hsl": {
"h": 224.882,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.44703,
"c": 0.15713,
"h": 266.1
},
"luminance": 0.08448
}Semantic roles & 50–950 ramp
primary
#2B4BAA
secondary
#C3AE6E
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82