#2B389B#2B389B
#2B389B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.160 H 271.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B389B |
|---|---|
| RGB | rgb(43, 56, 155) |
| HSL | hsl(233, 57%, 39%) |
| HSV | hsv(233, 72%, 61%) |
| CMYK | cmyk(72.3%, 63.9%, 0%, 39.2%) |
| CIE-LAB | lab(28.66, 29.54, -55.50) |
| CIE-LCH | lch(28.66, 62.87, 298.02°) |
| OKLab | oklab(39.68% 0.0034 -0.1603) |
| OKLCH | oklch(39.68% 0.16 271.2) |
| XYZ | xyz(8.3248, 5.7077, 31.6670) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blueberry
#464196
ΔE00 4.53
Darkslateblue
#483D8B
ΔE00 5.63
Cobalt
#0047AB
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B389B #9B8E2B
analogous
#2B709B #2B389B #562B9B
triadic
#2B389B #9B2B38 #389B2B
tetradic
#2B389B #9B2B70 #9B8E2B #2B9B56
square
#2B389B #9B2B70 #9B8E2B #2B9B56
split-complementary
#2B389B #9B562B #709B2B
monochromatic
#10153B #1E276B #2B389B #3B4BC9 #6B77D6
Accessibility & contrast
On white
9.81
#2B389B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B389B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B389B
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B389B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B389B | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b389b; /* rgb */ color: rgb(43, 56, 155); /* oklch */ color: oklch(39.7% 0.160 271.2);
Tailwind
colors: {
custom: {
50: '#756eb9',
500: '#2b389b',
950: '#000000',
},
}SCSS
$custom: #2b389b; $custom-light: #756eb9; $custom-dark: #000000;
JSON
{
"hex": "#2b389b",
"rgb": {
"r": 43,
"g": 56,
"b": 155
},
"hsl": {
"h": 233.036,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.39676,
"c": 0.16033,
"h": 271.2
},
"luminance": 0.05708
}Semantic roles & 50–950 ramp
primary
#2B389B
secondary
#BCB265
accent
#CE48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81