#2B41AB#2B41AB
#2B41AB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.171 H 268.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41AB |
|---|---|
| RGB | rgb(43, 65, 171) |
| HSL | hsl(230, 60%, 42%) |
| HSV | hsv(230, 75%, 67%) |
| CMYK | cmyk(74.9%, 62%, 0%, 32.9%) |
| CIE-LAB | lab(32.33, 29.55, -59.16) |
| CIE-LCH | lch(32.33, 66.13, 296.54°) |
| OKLab | oklab(42.81% -0.0034 -0.1709) |
| OKLCH | oklch(42.81% 0.171 268.8) |
| XYZ | xyz(10.2347, 7.2334, 39.3770) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 3.70
Cobalt
#0047AB
ΔE00 4.09
Blueberry
#464196
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.33
Cobalt (survey)
#1E488F
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41AB #AB952B
analogous
#2B81AB #2B41AB #552BAB
triadic
#2B41AB #AB2B41 #41AB2B
tetradic
#2B41AB #AB2B81 #AB952B #2BAB55
square
#2B41AB #AB2B81 #AB952B #2BAB55
split-complementary
#2B41AB #AB552B #81AB2B
monochromatic
#121C49 #1F2E7A #2B41AB #435CD0 #7486DC
Accessibility & contrast
On white
8.58
#2B41AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2B41AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41AB
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41AB | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b41ab; /* rgb */ color: rgb(43, 65, 171); /* oklch */ color: oklch(42.8% 0.171 268.8);
Tailwind
colors: {
custom: {
50: '#7875c5',
500: '#2b41ab',
950: '#000000',
},
}SCSS
$custom: #2b41ab; $custom-light: #7875c5; $custom-dark: #000000;
JSON
{
"hex": "#2b41ab",
"rgb": {
"r": 43,
"g": 65,
"b": 171
},
"hsl": {
"h": 229.688,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.42812,
"c": 0.17095,
"h": 268.8
},
"luminance": 0.07234
}Semantic roles & 50–950 ramp
primary
#2B41AB
secondary
#C4B56E
accent
#C845E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82