#2B46AA#2B46AA
#2B46AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.163 H 267.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46AA |
|---|---|
| RGB | rgb(43, 70, 170) |
| HSL | hsl(227, 60%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(74.7%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(33.55, 25.86, -56.57) |
| CIE-LCH | lch(33.55, 62.20, 294.57°) |
| OKLab | oklab(43.69% -0.007 -0.1633) |
| OKLCH | oklch(43.69% 0.163 267.5) |
| XYZ | xyz(10.4396, 7.7951, 38.9768) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.29
Cobalt (survey)
#1E488F
ΔE00 5.03
Sapphire
#0F52BA
ΔE00 5.09
Blueberry
#464196
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46AA #AA8F2B
analogous
#2B86AA #2B46AA #502BAA
triadic
#2B46AA #AA2B46 #46AA2B
tetradic
#2B46AA #AA2B86 #AA8F2B #2BAA50
square
#2B46AA #AA2B86 #AA8F2B #2BAA50
split-complementary
#2B46AA #AA502B #86AA2B
monochromatic
#121E48 #1F3279 #2B46AA #4361CF #748ADC
Accessibility & contrast
On white
8.21
#2B46AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2B46AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46AA
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46AA | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b46aa; /* rgb */ color: rgb(43, 70, 170); /* oklch */ color: oklch(43.7% 0.163 267.5);
Tailwind
colors: {
custom: {
50: '#7779c4',
500: '#2b46aa',
950: '#000000',
},
}SCSS
$custom: #2b46aa; $custom-light: #7779c4; $custom-dark: #000000;
JSON
{
"hex": "#2b46aa",
"rgb": {
"r": 43,
"g": 70,
"b": 170
},
"hsl": {
"h": 227.244,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.43694,
"c": 0.16341,
"h": 267.5
},
"luminance": 0.07796
}Semantic roles & 50–950 ramp
primary
#2B46AA
secondary
#C3B16E
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82