#2B45A8#2B45A8
#2B45A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.162 H 267.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45A8 |
|---|---|
| RGB | rgb(43, 69, 168) |
| HSL | hsl(228, 59%, 41%) |
| HSV | hsv(228, 74%, 66%) |
| CMYK | cmyk(74.4%, 58.9%, 0%, 34.1%) |
| CIE-LAB | lab(33.13, 25.77, -56.07) |
| CIE-LCH | lch(33.13, 61.71, 294.69°) |
| OKLab | oklab(43.33% -0.0063 -0.1618) |
| OKLCH | oklch(43.33% 0.162 267.8) |
| XYZ | xyz(10.1898, 7.5959, 37.9673) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Sapphire (survey)
#2138AB
ΔE00 4.04
Blue Blue
#2242C7
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 4.96
Blueberry
#464196
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45A8 #A88E2B
analogous
#2B84A8 #2B45A8 #502BA8
triadic
#2B45A8 #A82B45 #45A82B
tetradic
#2B45A8 #A82B84 #A88E2B #2BA850
square
#2B45A8 #A82B84 #A88E2B #2BA850
split-complementary
#2B45A8 #A8502B #84A82B
monochromatic
#121D47 #1F3177 #2B45A8 #425FCF #7288DB
Accessibility & contrast
On white
8.34
#2B45A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2B45A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45A8
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45A8 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b45a8; /* rgb */ color: rgb(43, 69, 168); /* oklch */ color: oklch(43.3% 0.162 267.8);
Tailwind
colors: {
custom: {
50: '#7778c3',
500: '#2b45a8',
950: '#000000',
},
}SCSS
$custom: #2b45a8; $custom-light: #7778c3; $custom-dark: #000000;
JSON
{
"hex": "#2b45a8",
"rgb": {
"r": 43,
"g": 69,
"b": 168
},
"hsl": {
"h": 227.52,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.43326,
"c": 0.16192,
"h": 267.8
},
"luminance": 0.07597
}Semantic roles & 50–950 ramp
primary
#2B45A8
secondary
#C2B06C
accent
#C245E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81