#2B45AE#2B45AE
#2B45AE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.170 H 267.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45AE |
|---|---|
| RGB | rgb(43, 69, 174) |
| HSL | hsl(228, 60%, 43%) |
| HSV | hsv(228, 75%, 68%) |
| CMYK | cmyk(75.3%, 60.3%, 0%, 31.8%) |
| CIE-LAB | lab(33.62, 28.03, -58.86) |
| CIE-LCH | lch(33.62, 65.19, 295.47°) |
| OKLab | oklab(43.84% -0.0062 -0.17) |
| OKLCH | oklch(43.84% 0.17 267.9) |
| XYZ | xyz(10.7617, 7.8247, 40.9793) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.35
Blue Blue
#2242C7
ΔE00 3.50
Sapphire (survey)
#2138AB
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.62
Blueberry
#464196
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45AE #AE942B
analogous
#2B86AE #2B45AE #532BAE
triadic
#2B45AE #AE2B45 #45AE2B
tetradic
#2B45AE #AE2B86 #AE942B #2BAE53
square
#2B45AE #AE2B86 #AE942B #2BAE53
split-complementary
#2B45AE #AE532B #86AE2B
monochromatic
#131E4C #1F327D #2B45AE #4561D1 #768BDD
Accessibility & contrast
On white
8.19
#2B45AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2B45AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45AE
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45AE | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b45ae; /* rgb */ color: rgb(43, 69, 174); /* oklch */ color: oklch(43.8% 0.170 267.9);
Tailwind
colors: {
custom: {
50: '#7878c7',
500: '#2b45ae',
950: '#000000',
},
}SCSS
$custom: #2b45ae; $custom-light: #7878c7; $custom-dark: #000000;
JSON
{
"hex": "#2b45ae",
"rgb": {
"r": 43,
"g": 69,
"b": 174
},
"hsl": {
"h": 228.092,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.43842,
"c": 0.17009,
"h": 267.9
},
"luminance": 0.07826
}Semantic roles & 50–950 ramp
primary
#2B45AE
secondary
#C5B470
accent
#C444E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82