#2B39A3#2B39A3
#2B39A3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.170 H 270.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A3 |
|---|---|
| RGB | rgb(43, 57, 163) |
| HSL | hsl(233, 58%, 40%) |
| HSV | hsv(233, 74%, 64%) |
| CMYK | cmyk(73.6%, 65%, 0%, 36.1%) |
| CIE-LAB | lab(29.62, 31.82, -58.79) |
| CIE-LCH | lch(29.62, 66.85, 298.43°) |
| OKLab | oklab(40.6% 0.0023 -0.1699) |
| OKLCH | oklch(40.6% 0.17 270.8) |
| XYZ | xyz(9.0680, 6.0833, 35.3395) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blueberry
#464196
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.79
Cobalt
#0047AB
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A3 #A3952B
analogous
#2B75A3 #2B39A3 #592BA3
triadic
#2B39A3 #A32B39 #39A32B
tetradic
#2B39A3 #A32B75 #A3952B #2BA359
square
#2B39A3 #A32B75 #A3952B #2BA359
split-complementary
#2B39A3 #A3592B #75A32B
monochromatic
#111742 #1E2873 #2B39A3 #3F4FCC #6F7CD9
Accessibility & contrast
On white
9.47
#2B39A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2B39A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A3
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A3 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b39a3; /* rgb */ color: rgb(43, 57, 163); /* oklch */ color: oklch(40.6% 0.170 270.8);
Tailwind
colors: {
custom: {
50: '#766fbf',
500: '#2b39a3',
950: '#000000',
},
}SCSS
$custom: #2b39a3; $custom-light: #766fbf; $custom-dark: #000000;
JSON
{
"hex": "#2b39a3",
"rgb": {
"r": 43,
"g": 57,
"b": 163
},
"hsl": {
"h": 233,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.40599,
"c": 0.16992,
"h": 270.8
},
"luminance": 0.06084
}Semantic roles & 50–950 ramp
primary
#2B39A3
secondary
#C0B66A
accent
#CF46E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81