#2B46AB#2B46AB
#2B46AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.165 H 267.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46AB |
|---|---|
| RGB | rgb(43, 70, 171) |
| HSL | hsl(227, 60%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(74.9%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.63, 26.24, -57.04) |
| CIE-LCH | lch(33.63, 62.79, 294.71°) |
| OKLab | oklab(43.78% -0.007 -0.1646) |
| OKLCH | oklch(43.78% 0.165 267.6) |
| XYZ | xyz(10.5346, 7.8330, 39.4769) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Blue Blue
#2242C7
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.26
Sapphire
#0F52BA
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.15
Blueberry
#464196
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46AB #AB902B
analogous
#2B86AB #2B46AB #502BAB
triadic
#2B46AB #AB2B46 #46AB2B
tetradic
#2B46AB #AB2B86 #AB902B #2BAB50
square
#2B46AB #AB2B86 #AB902B #2BAB50
split-complementary
#2B46AB #AB502B #86AB2B
monochromatic
#121E49 #1F327A #2B46AB #4361D0 #748ADC
Accessibility & contrast
On white
8.18
#2B46AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2B46AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46AB
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46AB | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b46ab; /* rgb */ color: rgb(43, 70, 171); /* oklch */ color: oklch(43.8% 0.165 267.6);
Tailwind
colors: {
custom: {
50: '#7779c5',
500: '#2b46ab',
950: '#000000',
},
}SCSS
$custom: #2b46ab; $custom-light: #7779c5; $custom-dark: #000000;
JSON
{
"hex": "#2b46ab",
"rgb": {
"r": 43,
"g": 70,
"b": 171
},
"hsl": {
"h": 227.344,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.43779,
"c": 0.16478,
"h": 267.6
},
"luminance": 0.07834
}Semantic roles & 50–950 ramp
primary
#2B46AB
secondary
#C4B26E
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82