#2B3AB2#2B3AB2
#2B3AB2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.188 H 270.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AB2 |
|---|---|
| RGB | rgb(43, 58, 178) |
| HSL | hsl(233, 61%, 43%) |
| HSV | hsv(233, 76%, 70%) |
| CMYK | cmyk(75.8%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(31.24, 36.63, -65.13) |
| CIE-LCH | lch(31.24, 74.72, 299.35°) |
| OKLab | oklab(42.2% 0.0006 -0.1884) |
| OKLCH | oklch(42.2% 0.188 270.2) |
| XYZ | xyz(10.5425, 6.7529, 42.8587) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.46
Blue Blue
#2242C7
ΔE00 3.53
Ocean Blue
#4F42B5
ΔE00 4.80
Blueberry
#464196
ΔE00 5.77
Blue With A Hint Of Purple
#533CC6
ΔE00 5.90
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AB2 #B2A32B
analogous
#2B7DB2 #2B3AB2 #5F2BB2
triadic
#2B3AB2 #B22B3A #3AB22B
tetradic
#2B3AB2 #B22B7D #B2A32B #2BB25F
square
#2B3AB2 #B22B7D #B2A32B #2BB25F
split-complementary
#2B3AB2 #B25F2B #7DB22B
monochromatic
#131A4F #1F2A81 #2B3AB2 #4857D3 #7984DF
Accessibility & contrast
On white
8.93
#2B3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2B3AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AB2
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AB2 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b3ab2; /* rgb */ color: rgb(43, 58, 178); /* oklch */ color: oklch(42.2% 0.188 270.2);
Tailwind
colors: {
custom: {
50: '#7a70ca',
500: '#2b3ab2',
950: '#000000',
},
}SCSS
$custom: #2b3ab2; $custom-light: #7a70ca; $custom-dark: #000000;
JSON
{
"hex": "#2b3ab2",
"rgb": {
"r": 43,
"g": 58,
"b": 178
},
"hsl": {
"h": 233.333,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.42201,
"c": 0.18845,
"h": 270.2
},
"luminance": 0.06754
}Semantic roles & 50–950 ramp
primary
#2B3AB2
secondary
#C7BD72
accent
#D244E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82