#2B39A1#2B39A1
#2B39A1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.167 H 270.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A1 |
|---|---|
| RGB | rgb(43, 57, 161) |
| HSL | hsl(233, 58%, 40%) |
| HSV | hsv(233, 73%, 63%) |
| CMYK | cmyk(73.3%, 64.6%, 0%, 36.9%) |
| CIE-LAB | lab(29.44, 31.09, -57.87) |
| CIE-LCH | lch(29.44, 65.69, 298.25°) |
| OKLab | oklab(40.41% 0.0024 -0.1672) |
| OKLCH | oklch(40.41% 0.167 270.8) |
| XYZ | xyz(8.8902, 6.0121, 34.4032) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.56
Blueberry
#464196
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A1 #A1932B
analogous
#2B74A1 #2B39A1 #582BA1
triadic
#2B39A1 #A12B39 #39A12B
tetradic
#2B39A1 #A12B74 #A1932B #2BA158
square
#2B39A1 #A12B74 #A1932B #2BA158
split-complementary
#2B39A1 #A1582B #74A12B
monochromatic
#111740 #1E2871 #2B39A1 #3E4FCB #6E7BD8
Accessibility & contrast
On white
9.53
#2B39A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2B39A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A1
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A1 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b39a1; /* rgb */ color: rgb(43, 57, 161); /* oklch */ color: oklch(40.4% 0.167 270.8);
Tailwind
colors: {
custom: {
50: '#766fbe',
500: '#2b39a1',
950: '#000000',
},
}SCSS
$custom: #2b39a1; $custom-light: #766fbe; $custom-dark: #000000;
JSON
{
"hex": "#2b39a1",
"rgb": {
"r": 43,
"g": 57,
"b": 161
},
"hsl": {
"h": 232.881,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.40413,
"c": 0.16723,
"h": 270.8
},
"luminance": 0.06013
}Semantic roles & 50–950 ramp
primary
#2B39A1
secondary
#BFB569
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81