#2B3AB6#2B3AB6
#2B3AB6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.194 H 270.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AB6 |
|---|---|
| RGB | rgb(43, 58, 182) |
| HSL | hsl(234, 62%, 44%) |
| HSV | hsv(234, 76%, 71%) |
| CMYK | cmyk(76.4%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(31.61, 38.06, -66.89) |
| CIE-LCH | lch(31.61, 76.95, 299.64°) |
| OKLab | oklab(42.59% 0.0002 -0.1936) |
| OKLCH | oklch(42.59% 0.194 270.1) |
| XYZ | xyz(10.9499, 6.9159, 45.0047) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.93
Blue Blue
#2242C7
ΔE00 3.18
Ocean Blue
#4F42B5
ΔE00 4.67
Blue With A Hint Of Purple
#533CC6
ΔE00 5.54
Blue (survey)
#0343DF
ΔE00 5.68
Blueberry
#464196
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AB6 #B6A72B
analogous
#2B80B6 #2B3AB6 #622BB6
triadic
#2B3AB6 #B62B3A #3AB62B
tetradic
#2B3AB6 #B62B80 #B6A72B #2BB662
square
#2B3AB6 #B62B80 #B6A72B #2BB662
split-complementary
#2B3AB6 #B6622B #80B62B
monochromatic
#141A53 #1F2A84 #2B3AB6 #4A59D4 #7B86E0
Accessibility & contrast
On white
8.81
#2B3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B3AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AB6
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AB6 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b3ab6; /* rgb */ color: rgb(43, 58, 182); /* oklch */ color: oklch(42.6% 0.194 270.1);
Tailwind
colors: {
custom: {
50: '#7b70cd',
500: '#2b3ab6',
950: '#000000',
},
}SCSS
$custom: #2b3ab6; $custom-light: #7b70cd; $custom-dark: #000000;
JSON
{
"hex": "#2b3ab6",
"rgb": {
"r": 43,
"g": 58,
"b": 182
},
"hsl": {
"h": 233.525,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.42589,
"c": 0.19358,
"h": 270.1
},
"luminance": 0.06917
}Semantic roles & 50–950 ramp
primary
#2B3AB6
secondary
#C8BF75
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82