#2B45A5#2B45A5
#2B45A5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.158 H 267.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2B45A5 |
|---|---|
| RGB | rgb(43, 69, 165) |
| HSL | hsl(227, 59%, 41%) |
| HSV | hsv(227, 74%, 65%) |
| CMYK | cmyk(73.9%, 58.2%, 0%, 35.3%) |
| CIE-LAB | lab(32.89, 24.64, -54.66) |
| CIE-LCH | lch(32.89, 59.96, 294.26°) |
| OKLab | oklab(43.07% -0.0064 -0.1577) |
| OKLCH | oklch(43.07% 0.158 267.7) |
| XYZ | xyz(9.9136, 7.4854, 36.5124) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 4.19
Cobalt (survey)
#1E488F
ΔE00 4.59
Blue Blue
#2242C7
ΔE00 4.80
Blueberry
#464196
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B45A5 #A58B2B
analogous
#2B82A5 #2B45A5 #4E2BA5
triadic
#2B45A5 #A52B45 #45A52B
tetradic
#2B45A5 #A52B82 #A58B2B #2BA54E
square
#2B45A5 #A52B82 #A58B2B #2BA54E
split-complementary
#2B45A5 #A54E2B #82A52B
monochromatic
#121C44 #1E3174 #2B45A5 #405ECD #7187DA
Accessibility & contrast
On white
8.41
#2B45A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2B45A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B45A5
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B45A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B45A5 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b45a5; /* rgb */ color: rgb(43, 69, 165); /* oklch */ color: oklch(43.1% 0.158 267.7);
Tailwind
colors: {
custom: {
50: '#7678c0',
500: '#2b45a5',
950: '#000000',
},
}SCSS
$custom: #2b45a5; $custom-light: #7678c0; $custom-dark: #000000;
JSON
{
"hex": "#2b45a5",
"rgb": {
"r": 43,
"g": 69,
"b": 165
},
"hsl": {
"h": 227.213,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.43072,
"c": 0.15779,
"h": 267.7
},
"luminance": 0.07486
}Semantic roles & 50–950 ramp
primary
#2B45A5
secondary
#C1AF6B
accent
#C146E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81