#2B46A1#2B46A1
#2B46A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.151 H 267.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46A1 |
|---|---|
| RGB | rgb(43, 70, 161) |
| HSL | hsl(226, 58%, 40%) |
| HSV | hsv(226, 73%, 63%) |
| CMYK | cmyk(73.3%, 56.5%, 0%, 36.9%) |
| CIE-LAB | lab(32.85, 22.45, -52.32) |
| CIE-LCH | lch(32.85, 56.94, 293.22°) |
| OKLab | oklab(42.94% -0.0074 -0.1508) |
| OKLCH | oklch(42.94% 0.151 267.2) |
| XYZ | xyz(9.6172, 7.4661, 34.6456) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.90
Cobalt (survey)
#1E488F
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.80
Blueberry
#464196
ΔE00 5.41
Sapphire
#0F52BA
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46A1 #A1862B
analogous
#2B81A1 #2B46A1 #4B2BA1
triadic
#2B46A1 #A12B46 #46A12B
tetradic
#2B46A1 #A12B81 #A1862B #2BA14B
square
#2B46A1 #A12B81 #A1862B #2BA14B
split-complementary
#2B46A1 #A14B2B #81A12B
monochromatic
#111C40 #1E3171 #2B46A1 #3E5ECB #6E86D8
Accessibility & contrast
On white
8.42
#2B46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B46A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46A1
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46A1 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b46a1; /* rgb */ color: rgb(43, 70, 161); /* oklch */ color: oklch(42.9% 0.151 267.2);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2b46a1',
950: '#000000',
},
}SCSS
$custom: #2b46a1; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2b46a1",
"rgb": {
"r": 43,
"g": 70,
"b": 161
},
"hsl": {
"h": 226.271,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.42942,
"c": 0.15095,
"h": 267.2
},
"luminance": 0.07467
}Semantic roles & 50–950 ramp
primary
#2B46A1
secondary
#BFAB69
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81