#2B45B7#2B45B7
#2B45B7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.182 H 268.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45B7 |
|---|---|
| RGB | rgb(43, 69, 183) |
| HSL | hsl(229, 62%, 44%) |
| HSV | hsv(229, 77%, 72%) |
| CMYK | cmyk(76.5%, 62.3%, 0%, 28.2%) |
| CIE-LAB | lab(34.37, 31.39, -62.96) |
| CIE-LCH | lch(34.37, 70.35, 296.50°) |
| OKLab | oklab(44.64% -0.0063 -0.182) |
| OKLCH | oklch(44.64% 0.182 268) |
| XYZ | xyz(11.6687, 8.1874, 45.7559) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.28
Sapphire (survey)
#2138AB
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.05
Blue (survey)
#0343DF
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45B7 #B79D2B
analogous
#2B8BB7 #2B45B7 #572BB7
triadic
#2B45B7 #B72B45 #45B72B
tetradic
#2B45B7 #B72B8B #B79D2B #2BB757
square
#2B45B7 #B72B8B #B79D2B #2BB757
split-complementary
#2B45B7 #B7572B #8BB72B
monochromatic
#142054 #1F3285 #2B45B7 #4B64D5 #7C8FE0
Accessibility & contrast
On white
7.96
#2B45B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2B45B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45B7
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45B7 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2b45b7; /* rgb */ color: rgb(43, 69, 183); /* oklch */ color: oklch(44.6% 0.182 268.0);
Tailwind
colors: {
custom: {
50: '#7a78ce',
500: '#2b45b7',
950: '#000000',
},
}SCSS
$custom: #2b45b7; $custom-light: #7a78ce; $custom-dark: #000000;
JSON
{
"hex": "#2b45b7",
"rgb": {
"r": 43,
"g": 69,
"b": 183
},
"hsl": {
"h": 228.857,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.44637,
"c": 0.18212,
"h": 268
},
"luminance": 0.08189
}Semantic roles & 50–950 ramp
primary
#2B45B7
secondary
#C9B975
accent
#C743E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82