#2B41AC#2B41AC
#2B41AC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.172 H 268.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41AC |
|---|---|
| RGB | rgb(43, 65, 172) |
| HSL | hsl(230, 60%, 42%) |
| HSV | hsv(230, 75%, 67%) |
| CMYK | cmyk(75%, 62.2%, 0%, 32.5%) |
| CIE-LAB | lab(32.42, 29.92, -59.62) |
| CIE-LCH | lch(32.42, 66.70, 296.65°) |
| OKLab | oklab(42.9% -0.0035 -0.1723) |
| OKLCH | oklch(42.9% 0.172 268.8) |
| XYZ | xyz(10.3304, 7.2716, 39.8809) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Blue Blue
#2242C7
ΔE00 3.56
Cobalt
#0047AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41AC #AC962B
analogous
#2B82AC #2B41AC #552BAC
triadic
#2B41AC #AC2B41 #41AC2B
tetradic
#2B41AC #AC2B82 #AC962B #2BAC55
square
#2B41AC #AC2B82 #AC962B #2BAC55
split-complementary
#2B41AC #AC552B #82AC2B
monochromatic
#131C4A #1F2E7B #2B41AC #445CD0 #7587DC
Accessibility & contrast
On white
8.56
#2B41AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2B41AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41AC
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41AC | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b41ac; /* rgb */ color: rgb(43, 65, 172); /* oklch */ color: oklch(42.9% 0.172 268.8);
Tailwind
colors: {
custom: {
50: '#7875c6',
500: '#2b41ac',
950: '#000000',
},
}SCSS
$custom: #2b41ac; $custom-light: #7875c6; $custom-dark: #000000;
JSON
{
"hex": "#2b41ac",
"rgb": {
"r": 43,
"g": 65,
"b": 172
},
"hsl": {
"h": 229.767,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.42902,
"c": 0.17229,
"h": 268.8
},
"luminance": 0.07273
}Semantic roles & 50–950 ramp
primary
#2B41AC
secondary
#C4B66F
accent
#C845E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82