#2B46A7#2B46A7
#2B46A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.159 H 267.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46A7 |
|---|---|
| RGB | rgb(43, 70, 167) |
| HSL | hsl(227, 59%, 41%) |
| HSV | hsv(227, 74%, 65%) |
| CMYK | cmyk(74.3%, 58.1%, 0%, 34.5%) |
| CIE-LAB | lab(33.31, 24.73, -55.17) |
| CIE-LCH | lch(33.31, 60.46, 294.15°) |
| OKLab | oklab(43.44% -0.0071 -0.1591) |
| OKLCH | oklch(43.44% 0.159 267.4) |
| XYZ | xyz(10.1590, 7.6828, 37.4993) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.88
Sapphire (survey)
#2138AB
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 5.18
Blueberry
#464196
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46A7 #A78C2B
analogous
#2B84A7 #2B46A7 #4E2BA7
triadic
#2B46A7 #A72B46 #46A72B
tetradic
#2B46A7 #A72B84 #A78C2B #2BA74E
square
#2B46A7 #A72B84 #A78C2B #2BA74E
split-complementary
#2B46A7 #A74E2B #84A72B
monochromatic
#121D46 #1E3276 #2B46A7 #4160CE #7289DB
Accessibility & contrast
On white
8.28
#2B46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B46A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46A7
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46A7 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b46a7; /* rgb */ color: rgb(43, 70, 167); /* oklch */ color: oklch(43.4% 0.159 267.4);
Tailwind
colors: {
custom: {
50: '#7679c2',
500: '#2b46a7',
950: '#000000',
},
}SCSS
$custom: #2b46a7; $custom-light: #7679c2; $custom-dark: #000000;
JSON
{
"hex": "#2b46a7",
"rgb": {
"r": 43,
"g": 70,
"b": 167
},
"hsl": {
"h": 226.935,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.43441,
"c": 0.15929,
"h": 267.4
},
"luminance": 0.07684
}Semantic roles & 50–950 ramp
primary
#2B46A7
secondary
#C2AF6C
accent
#C046E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81