#2B45B0#2B45B0
#2B45B0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.173 H 267.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45B0 |
|---|---|
| RGB | rgb(43, 69, 176) |
| HSL | hsl(228, 61%, 43%) |
| HSV | hsv(228, 76%, 69%) |
| CMYK | cmyk(75.6%, 60.8%, 0%, 31%) |
| CIE-LAB | lab(33.78, 28.78, -59.78) |
| CIE-LCH | lch(33.78, 66.34, 295.71°) |
| OKLab | oklab(44.02% -0.0062 -0.1727) |
| OKLCH | oklch(44.02% 0.173 267.9) |
| XYZ | xyz(10.9581, 7.9032, 42.0138) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.48
Blueberry
#464196
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45B0 #B0962B
analogous
#2B87B0 #2B45B0 #542BB0
triadic
#2B45B0 #B02B45 #45B02B
tetradic
#2B45B0 #B02B87 #B0962B #2BB054
square
#2B45B0 #B02B87 #B0962B #2BB054
split-complementary
#2B45B0 #B0542B #87B02B
monochromatic
#131E4E #1F327F #2B45B0 #4662D2 #788CDE
Accessibility & contrast
On white
8.14
#2B45B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2B45B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45B0
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45B0 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b45b0; /* rgb */ color: rgb(43, 69, 176); /* oklch */ color: oklch(44.0% 0.173 267.9);
Tailwind
colors: {
custom: {
50: '#7878c8',
500: '#2b45b0',
950: '#000000',
},
}SCSS
$custom: #2b45b0; $custom-light: #7878c8; $custom-dark: #000000;
JSON
{
"hex": "#2b45b0",
"rgb": {
"r": 43,
"g": 69,
"b": 176
},
"hsl": {
"h": 228.271,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.44017,
"c": 0.17279,
"h": 267.9
},
"luminance": 0.07904
}Semantic roles & 50–950 ramp
primary
#2B45B0
secondary
#C6B571
accent
#C544E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82