#2B39A4#2B39A4
#2B39A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.171 H 270.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A4 |
|---|---|
| RGB | rgb(43, 57, 164) |
| HSL | hsl(233, 58%, 41%) |
| HSV | hsv(233, 74%, 64%) |
| CMYK | cmyk(73.8%, 65.2%, 0%, 35.7%) |
| CIE-LAB | lab(29.71, 32.19, -59.24) |
| CIE-LCH | lch(29.71, 67.42, 298.52°) |
| OKLab | oklab(40.69% 0.0022 -0.1712) |
| OKLCH | oklch(40.69% 0.171 270.7) |
| XYZ | xyz(9.1579, 6.1192, 35.8133) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.22
Blueberry
#464196
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.71
Cobalt
#0047AB
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A4 #A4962B
analogous
#2B75A4 #2B39A4 #592BA4
triadic
#2B39A4 #A42B39 #39A42B
tetradic
#2B39A4 #A42B75 #A4962B #2BA459
square
#2B39A4 #A42B75 #A4962B #2BA459
split-complementary
#2B39A4 #A4592B #75A42B
monochromatic
#121743 #1E2874 #2B39A4 #3F50CD #707CD9
Accessibility & contrast
On white
9.44
#2B39A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2B39A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A4
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A4 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b39a4; /* rgb */ color: rgb(43, 57, 164); /* oklch */ color: oklch(40.7% 0.171 270.7);
Tailwind
colors: {
custom: {
50: '#776fc0',
500: '#2b39a4',
950: '#000000',
},
}SCSS
$custom: #2b39a4; $custom-light: #776fc0; $custom-dark: #000000;
JSON
{
"hex": "#2b39a4",
"rgb": {
"r": 43,
"g": 57,
"b": 164
},
"hsl": {
"h": 233.058,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.40693,
"c": 0.17125,
"h": 270.7
},
"luminance": 0.0612
}Semantic roles & 50–950 ramp
primary
#2B39A4
secondary
#C1B76A
accent
#D046E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81