#2B39A0#2B39A0
#2B39A0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.166 H 270.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A0 |
|---|---|
| RGB | rgb(43, 57, 160) |
| HSL | hsl(233, 58%, 40%) |
| HSV | hsv(233, 73%, 63%) |
| CMYK | cmyk(73.1%, 64.4%, 0%, 37.3%) |
| CIE-LAB | lab(29.35, 30.72, -57.41) |
| CIE-LCH | lch(29.35, 65.11, 298.15°) |
| OKLab | oklab(40.32% 0.0024 -0.1659) |
| OKLCH | oklch(40.32% 0.166 270.8) |
| XYZ | xyz(8.8024, 5.9770, 33.9407) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.69
Blueberry
#464196
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.05
Cobalt
#0047AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A0 #A0922B
analogous
#2B73A0 #2B39A0 #582BA0
triadic
#2B39A0 #A02B39 #39A02B
tetradic
#2B39A0 #A02B73 #A0922B #2BA058
square
#2B39A0 #A02B73 #A0922B #2BA058
split-complementary
#2B39A0 #A0582B #73A02B
monochromatic
#111740 #1E2870 #2B39A0 #3D4ECB #6E7AD8
Accessibility & contrast
On white
9.56
#2B39A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2B39A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A0
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A0 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b39a0; /* rgb */ color: rgb(43, 57, 160); /* oklch */ color: oklch(40.3% 0.166 270.8);
Tailwind
colors: {
custom: {
50: '#766fbd',
500: '#2b39a0',
950: '#000000',
},
}SCSS
$custom: #2b39a0; $custom-light: #766fbd; $custom-dark: #000000;
JSON
{
"hex": "#2b39a0",
"rgb": {
"r": 43,
"g": 57,
"b": 160
},
"hsl": {
"h": 232.821,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.40321,
"c": 0.16589,
"h": 270.8
},
"luminance": 0.05978
}Semantic roles & 50–950 ramp
primary
#2B39A0
secondary
#BFB468
accent
#CE47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81