#2B399E#2B399E
#2B399E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.163 H 270.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B399E |
|---|---|
| RGB | rgb(43, 57, 158) |
| HSL | hsl(233, 57%, 39%) |
| HSV | hsv(233, 73%, 62%) |
| CMYK | cmyk(72.8%, 63.9%, 0%, 38%) |
| CIE-LAB | lab(29.18, 29.99, -56.49) |
| CIE-LCH | lch(29.18, 63.95, 297.96°) |
| OKLab | oklab(40.14% 0.0025 -0.1632) |
| OKLCH | oklch(40.14% 0.163 270.9) |
| XYZ | xyz(8.6288, 5.9076, 33.0267) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.95
Blueberry
#464196
ΔE00 4.53
Darkslateblue
#483D8B
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 5.95
Cobalt
#0047AB
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B399E #9E902B
analogous
#2B739E #2B399E #572B9E
triadic
#2B399E #9E2B39 #399E2B
tetradic
#2B399E #9E2B73 #9E902B #2B9E57
square
#2B399E #9E2B73 #9E902B #2B9E57
split-complementary
#2B399E #9E572B #739E2B
monochromatic
#11163E #1E286E #2B399E #3C4DCA #6C79D7
Accessibility & contrast
On white
9.63
#2B399E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B399E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B399E
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B399E | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b399e; /* rgb */ color: rgb(43, 57, 158); /* oklch */ color: oklch(40.1% 0.163 270.9);
Tailwind
colors: {
custom: {
50: '#756fbc',
500: '#2b399e',
950: '#000000',
},
}SCSS
$custom: #2b399e; $custom-light: #756fbc; $custom-dark: #000000;
JSON
{
"hex": "#2b399e",
"rgb": {
"r": 43,
"g": 57,
"b": 158
},
"hsl": {
"h": 232.696,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.40137,
"c": 0.16318,
"h": 270.9
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#2B399E
secondary
#BEB367
accent
#CE47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81