#2B45AD#2B45AD
#2B45AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.169 H 267.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45AD |
|---|---|
| RGB | rgb(43, 69, 173) |
| HSL | hsl(228, 60%, 42%) |
| HSV | hsv(228, 75%, 68%) |
| CMYK | cmyk(75.1%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.53, 27.66, -58.39) |
| CIE-LCH | lch(33.53, 64.61, 295.34°) |
| OKLab | oklab(43.76% -0.0062 -0.1686) |
| OKLCH | oklch(43.76% 0.169 267.9) |
| XYZ | xyz(10.6646, 7.7858, 40.4678) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 3.65
Sapphire (survey)
#2138AB
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 5.35
Cobalt (survey)
#1E488F
ΔE00 5.58
Blueberry
#464196
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45AD #AD932B
analogous
#2B86AD #2B45AD #522BAD
triadic
#2B45AD #AD2B45 #45AD2B
tetradic
#2B45AD #AD2B86 #AD932B #2BAD52
square
#2B45AD #AD2B86 #AD932B #2BAD52
split-complementary
#2B45AD #AD522B #86AD2B
monochromatic
#131E4B #1F317C #2B45AD #4561D1 #768ADD
Accessibility & contrast
On white
8.21
#2B45AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2B45AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45AD
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45AD | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b45ad; /* rgb */ color: rgb(43, 69, 173); /* oklch */ color: oklch(43.8% 0.169 267.9);
Tailwind
colors: {
custom: {
50: '#7878c6',
500: '#2b45ad',
950: '#000000',
},
}SCSS
$custom: #2b45ad; $custom-light: #7878c6; $custom-dark: #000000;
JSON
{
"hex": "#2b45ad",
"rgb": {
"r": 43,
"g": 69,
"b": 173
},
"hsl": {
"h": 228,
"s": 60.185,
"l": 42.353
},
"oklch": {
"l": 0.43756,
"c": 0.16874,
"h": 267.9
},
"luminance": 0.07787
}Semantic roles & 50–950 ramp
primary
#2B45AD
secondary
#C4B36F
accent
#C444E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82