#2B45B2#2B45B2
#2B45B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.175 H 268.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45B2 |
|---|---|
| RGB | rgb(43, 69, 178) |
| HSL | hsl(228, 61%, 43%) |
| HSV | hsv(228, 76%, 70%) |
| CMYK | cmyk(75.8%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.95, 29.53, -60.69) |
| CIE-LCH | lch(33.95, 67.49, 295.94°) |
| OKLab | oklab(44.19% -0.0062 -0.1754) |
| OKLCH | oklch(44.19% 0.175 268) |
| XYZ | xyz(11.1575, 7.9830, 43.0637) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.95
Cobalt
#0047AB
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45B2 #B2982B
analogous
#2B88B2 #2B45B2 #542BB2
triadic
#2B45B2 #B22B45 #45B22B
tetradic
#2B45B2 #B22B88 #B2982B #2BB254
square
#2B45B2 #B22B88 #B2982B #2BB254
split-complementary
#2B45B2 #B2542B #88B22B
monochromatic
#131F4F #1F3281 #2B45B2 #4862D3 #798CDF
Accessibility & contrast
On white
8.09
#2B45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2B45B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45B2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45B2 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b45b2; /* rgb */ color: rgb(43, 69, 178); /* oklch */ color: oklch(44.2% 0.175 268.0);
Tailwind
colors: {
custom: {
50: '#7978ca',
500: '#2b45b2',
950: '#000000',
},
}SCSS
$custom: #2b45b2; $custom-light: #7978ca; $custom-dark: #000000;
JSON
{
"hex": "#2b45b2",
"rgb": {
"r": 43,
"g": 69,
"b": 178
},
"hsl": {
"h": 228.444,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.44193,
"c": 0.17547,
"h": 268
},
"luminance": 0.07984
}Semantic roles & 50–950 ramp
primary
#2B45B2
secondary
#C7B672
accent
#C544E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82