#2B45AB#2B45AB
#2B45AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.166 H 267.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45AB |
|---|---|
| RGB | rgb(43, 69, 171) |
| HSL | hsl(228, 60%, 42%) |
| HSV | hsv(228, 75%, 67%) |
| CMYK | cmyk(74.9%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.37, 26.90, -57.47) |
| CIE-LCH | lch(33.37, 63.45, 295.09°) |
| OKLab | oklab(43.58% -0.0063 -0.1659) |
| OKLCH | oklch(43.58% 0.166 267.8) |
| XYZ | xyz(10.4725, 7.7090, 39.4562) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.19
Blue Blue
#2242C7
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 5.33
Sapphire
#0F52BA
ΔE00 5.37
Blueberry
#464196
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45AB #AB912B
analogous
#2B85AB #2B45AB #512BAB
triadic
#2B45AB #AB2B45 #45AB2B
tetradic
#2B45AB #AB2B85 #AB912B #2BAB51
square
#2B45AB #AB2B85 #AB912B #2BAB51
split-complementary
#2B45AB #AB512B #85AB2B
monochromatic
#121E49 #1F317A #2B45AB #4360D0 #7489DC
Accessibility & contrast
On white
8.26
#2B45AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B45AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45AB
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45AB | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b45ab; /* rgb */ color: rgb(43, 69, 171); /* oklch */ color: oklch(43.6% 0.166 267.8);
Tailwind
colors: {
custom: {
50: '#7778c5',
500: '#2b45ab',
950: '#000000',
},
}SCSS
$custom: #2b45ab; $custom-light: #7778c5; $custom-dark: #000000;
JSON
{
"hex": "#2b45ab",
"rgb": {
"r": 43,
"g": 69,
"b": 171
},
"hsl": {
"h": 227.813,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.43583,
"c": 0.16602,
"h": 267.8
},
"luminance": 0.0771
}Semantic roles & 50–950 ramp
primary
#2B45AB
secondary
#C4B26E
accent
#C345E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82