#2B46AC#2B46AC
#2B46AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 267.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B46AC |
|---|---|
| RGB | rgb(43, 70, 172) |
| HSL | hsl(227, 60%, 42%) |
| HSV | hsv(227, 75%, 67%) |
| CMYK | cmyk(75%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(33.71, 26.62, -57.50) |
| CIE-LCH | lch(33.71, 63.37, 294.84°) |
| OKLab | oklab(43.86% -0.007 -0.166) |
| OKLCH | oklch(43.86% 0.166 267.6) |
| XYZ | xyz(10.6302, 7.8713, 39.9808) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.05
Blue Blue
#2242C7
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.28
Blueberry
#464196
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B46AC #AC912B
analogous
#2B87AC #2B46AC #512BAC
triadic
#2B46AC #AC2B46 #46AC2B
tetradic
#2B46AC #AC2B87 #AC912B #2BAC51
square
#2B46AC #AC2B87 #AC912B #2BAC51
split-complementary
#2B46AC #AC512B #87AC2B
monochromatic
#131E4A #1F327B #2B46AC #4461D0 #758BDC
Accessibility & contrast
On white
8.16
#2B46AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2B46AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B46AC
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B46AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B46AC | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b46ac; /* rgb */ color: rgb(43, 70, 172); /* oklch */ color: oklch(43.9% 0.166 267.6);
Tailwind
colors: {
custom: {
50: '#7779c6',
500: '#2b46ac',
950: '#000000',
},
}SCSS
$custom: #2b46ac; $custom-light: #7779c6; $custom-dark: #000000;
JSON
{
"hex": "#2b46ac",
"rgb": {
"r": 43,
"g": 70,
"b": 172
},
"hsl": {
"h": 227.442,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.43865,
"c": 0.16615,
"h": 267.6
},
"luminance": 0.07872
}Semantic roles & 50–950 ramp
primary
#2B46AC
secondary
#C4B26F
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82