#2B39A8#2B39A8
#2B39A8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.177 H 270.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B39A8 |
|---|---|
| RGB | rgb(43, 57, 168) |
| HSL | hsl(233, 59%, 41%) |
| HSV | hsv(233, 74%, 66%) |
| CMYK | cmyk(74.4%, 66.1%, 0%, 34.1%) |
| CIE-LAB | lab(30.07, 33.65, -61.06) |
| CIE-LCH | lch(30.07, 69.72, 298.86°) |
| OKLab | oklab(41.07% 0.002 -0.1766) |
| OKLCH | oklch(41.07% 0.177 270.6) |
| XYZ | xyz(9.5249, 6.2660, 37.7457) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.91
Blue Blue
#2242C7
ΔE00 4.75
Blueberry
#464196
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.41
Cobalt
#0047AB
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B39A8 #A89A2B
analogous
#2B78A8 #2B39A8 #5C2BA8
triadic
#2B39A8 #A82B39 #39A82B
tetradic
#2B39A8 #A82B78 #A89A2B #2BA85C
square
#2B39A8 #A82B78 #A89A2B #2BA85C
split-complementary
#2B39A8 #A85C2B #78A82B
monochromatic
#121847 #1F2877 #2B39A8 #4251CF #727EDB
Accessibility & contrast
On white
9.32
#2B39A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B39A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B39A8
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B39A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B39A8 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b39a8; /* rgb */ color: rgb(43, 57, 168); /* oklch */ color: oklch(41.1% 0.177 270.6);
Tailwind
colors: {
custom: {
50: '#786fc3',
500: '#2b39a8',
950: '#000000',
},
}SCSS
$custom: #2b39a8; $custom-light: #786fc3; $custom-dark: #000000;
JSON
{
"hex": "#2b39a8",
"rgb": {
"r": 43,
"g": 57,
"b": 168
},
"hsl": {
"h": 233.28,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.41069,
"c": 0.17656,
"h": 270.6
},
"luminance": 0.06267
}Semantic roles & 50–950 ramp
primary
#2B39A8
secondary
#C2B96C
accent
#D145E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82