#2B39A2#2B39A2
#2B39A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.169 H 270.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A2 |
|---|---|
| RGB | rgb(43, 57, 162) |
| HSL | hsl(233, 58%, 40%) |
| HSV | hsv(233, 73%, 64%) |
| CMYK | cmyk(73.5%, 64.8%, 0%, 36.5%) |
| CIE-LAB | lab(29.53, 31.46, -58.33) |
| CIE-LCH | lch(29.53, 66.27, 298.34°) |
| OKLab | oklab(40.51% 0.0023 -0.1686) |
| OKLCH | oklch(40.51% 0.169 270.8) |
| XYZ | xyz(8.9788, 6.0476, 34.8695) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.44
Blueberry
#464196
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.88
Cobalt
#0047AB
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A2 #A2942B
analogous
#2B75A2 #2B39A2 #582BA2
triadic
#2B39A2 #A22B39 #39A22B
tetradic
#2B39A2 #A22B75 #A2942B #2BA258
square
#2B39A2 #A22B75 #A2942B #2BA258
split-complementary
#2B39A2 #A2582B #75A22B
monochromatic
#111741 #1E2872 #2B39A2 #3E4FCC #6F7BD9
Accessibility & contrast
On white
9.50
#2B39A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2B39A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A2
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A2 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b39a2; /* rgb */ color: rgb(43, 57, 162); /* oklch */ color: oklch(40.5% 0.169 270.8);
Tailwind
colors: {
custom: {
50: '#766fbe',
500: '#2b39a2',
950: '#000000',
},
}SCSS
$custom: #2b39a2; $custom-light: #766fbe; $custom-dark: #000000;
JSON
{
"hex": "#2b39a2",
"rgb": {
"r": 43,
"g": 57,
"b": 162
},
"hsl": {
"h": 232.941,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.40506,
"c": 0.16858,
"h": 270.8
},
"luminance": 0.06048
}Semantic roles & 50–950 ramp
primary
#2B39A2
secondary
#C0B669
accent
#CF47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81