#2B3999#2B3999
#2B3999 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.156 H 271.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3999 |
|---|---|
| RGB | rgb(43, 57, 153) |
| HSL | hsl(232, 56%, 38%) |
| HSV | hsv(232, 72%, 60%) |
| CMYK | cmyk(71.9%, 62.7%, 0%, 40%) |
| CIE-LAB | lab(28.74, 28.14, -54.15) |
| CIE-LCH | lch(28.74, 61.03, 297.46°) |
| OKLab | oklab(39.68% 0.0027 -0.1563) |
| OKLCH | oklch(39.68% 0.156 271) |
| XYZ | xyz(8.2072, 5.7389, 30.8060) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Blueberry
#464196
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 5.50
Cobalt
#0047AB
ΔE00 6.21
Blue Blue
#2242C7
ΔE00 6.60
Ocean Blue
#4F42B5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3999 #998B2B
analogous
#2B7099 #2B3999 #542B99
triadic
#2B3999 #992B39 #39992B
tetradic
#2B3999 #992B70 #998B2B #2B9954
square
#2B3999 #992B70 #998B2B #2B9954
split-complementary
#2B3999 #99542B #70992B
monochromatic
#101539 #1E2769 #2B3999 #3A4CC8 #6977D5
Accessibility & contrast
On white
9.78
#2B3999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2B3999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3999
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3999 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b3999; /* rgb */ color: rgb(43, 57, 153); /* oklch */ color: oklch(39.7% 0.156 271.0);
Tailwind
colors: {
custom: {
50: '#746fb8',
500: '#2b3999',
950: '#000000',
},
}SCSS
$custom: #2b3999; $custom-light: #746fb8; $custom-dark: #000000;
JSON
{
"hex": "#2b3999",
"rgb": {
"r": 43,
"g": 57,
"b": 153
},
"hsl": {
"h": 232.364,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.39682,
"c": 0.15633,
"h": 271
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#2B3999
secondary
#BCB064
accent
#CC48DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80