#2B3BA6#2B3BA6
#2B3BA6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.172 H 270.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3BA6 |
|---|---|
| RGB | rgb(43, 59, 166) |
| HSL | hsl(232, 59%, 41%) |
| HSV | hsv(232, 74%, 65%) |
| CMYK | cmyk(74.1%, 64.5%, 0%, 34.9%) |
| CIE-LAB | lab(30.38, 31.62, -59.35) |
| CIE-LCH | lch(30.38, 67.25, 298.05°) |
| OKLab | oklab(41.24% 0.0008 -0.1715) |
| OKLCH | oklch(41.24% 0.172 270.3) |
| XYZ | xyz(9.4408, 6.3937, 36.8056) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.26
Blue Blue
#2242C7
ΔE00 4.73
Blueberry
#464196
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3BA6 #A6962B
analogous
#2B78A6 #2B3BA6 #582BA6
triadic
#2B3BA6 #A62B3B #3BA62B
tetradic
#2B3BA6 #A62B78 #A6962B #2BA658
square
#2B3BA6 #A62B78 #A6962B #2BA658
split-complementary
#2B3BA6 #A6582B #78A62B
monochromatic
#121845 #1E2A75 #2B3BA6 #4153CE #717FDA
Accessibility & contrast
On white
9.21
#2B3BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2B3BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3BA6
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3BA6 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3ba6; /* rgb */ color: rgb(43, 59, 166); /* oklch */ color: oklch(41.2% 0.172 270.3);
Tailwind
colors: {
custom: {
50: '#7771c1',
500: '#2b3ba6',
950: '#000000',
},
}SCSS
$custom: #2b3ba6; $custom-light: #7771c1; $custom-dark: #000000;
JSON
{
"hex": "#2b3ba6",
"rgb": {
"r": 43,
"g": 59,
"b": 166
},
"hsl": {
"h": 232.195,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.41242,
"c": 0.17152,
"h": 270.3
},
"luminance": 0.06395
}Semantic roles & 50–950 ramp
primary
#2B3BA6
secondary
#C1B66B
accent
#CE46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81