#2B45B5#2B45B5
#2B45B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.179 H 268.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45B5 |
|---|---|
| RGB | rgb(43, 69, 181) |
| HSL | hsl(229, 62%, 44%) |
| HSV | hsv(229, 76%, 71%) |
| CMYK | cmyk(76.2%, 61.9%, 0%, 29%) |
| CIE-LAB | lab(34.20, 30.65, -62.06) |
| CIE-LCH | lch(34.20, 69.21, 296.28°) |
| OKLab | oklab(44.46% -0.0062 -0.1794) |
| OKLCH | oklch(44.46% 0.179 268) |
| XYZ | xyz(11.4620, 8.1048, 44.6674) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.54
Cobalt
#0047AB
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.20
Sapphire
#0F52BA
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45B5 #B59B2B
analogous
#2B8AB5 #2B45B5 #562BB5
triadic
#2B45B5 #B52B45 #45B52B
tetradic
#2B45B5 #B52B8A #B59B2B #2BB556
square
#2B45B5 #B52B8A #B59B2B #2BB556
split-complementary
#2B45B5 #B5562B #8AB52B
monochromatic
#141F52 #1F3284 #2B45B5 #4963D4 #7B8EE0
Accessibility & contrast
On white
8.01
#2B45B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2B45B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45B5
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45B5 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b45b5; /* rgb */ color: rgb(43, 69, 181); /* oklch */ color: oklch(44.5% 0.179 268.0);
Tailwind
colors: {
custom: {
50: '#7a78cc',
500: '#2b45b5',
950: '#000000',
},
}SCSS
$custom: #2b45b5; $custom-light: #7a78cc; $custom-dark: #000000;
JSON
{
"hex": "#2b45b5",
"rgb": {
"r": 43,
"g": 69,
"b": 181
},
"hsl": {
"h": 228.696,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.44458,
"c": 0.17947,
"h": 268
},
"luminance": 0.08106
}Semantic roles & 50–950 ramp
primary
#2B45B5
secondary
#C8B874
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82