#2D39B2#2D39B2
#2D39B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.189 H 271.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D39B2 |
|---|---|
| RGB | rgb(45, 57, 178) |
| HSL | hsl(235, 60%, 44%) |
| HSV | hsv(235, 75%, 70%) |
| CMYK | cmyk(74.7%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(31.11, 37.46, -65.34) |
| CIE-LCH | lch(31.11, 75.31, 299.83°) |
| OKLab | oklab(42.13% 0.0032 -0.189) |
| OKLCH | oklch(42.13% 0.189 271) |
| XYZ | xyz(10.5785, 6.6974, 42.8461) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.61
Blue Blue
#2242C7
ΔE00 3.76
Ocean Blue
#4F42B5
ΔE00 4.70
Blue With A Hint Of Purple
#533CC6
ΔE00 5.71
Blueberry
#464196
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D39B2 #B2A62D
analogous
#2D7BB2 #2D39B2 #632DB2
triadic
#2D39B2 #B22D39 #39B22D
tetradic
#2D39B2 #B22D7B #B2A62D #2DB263
square
#2D39B2 #B22D7B #B2A62D #2DB263
split-complementary
#2D39B2 #B2632D #7BB22D
monochromatic
#141A50 #212981 #2D39B2 #4B57D1 #7C84DE
Accessibility & contrast
On white
8.98
#2D39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2D39B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D39B2
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D39B2 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d39b2; /* rgb */ color: rgb(45, 57, 178); /* oklch */ color: oklch(42.1% 0.189 271.0);
Tailwind
colors: {
custom: {
50: '#7b70ca',
500: '#2d39b2',
950: '#000000',
},
}SCSS
$custom: #2d39b2; $custom-light: #7b70ca; $custom-dark: #000000;
JSON
{
"hex": "#2d39b2",
"rgb": {
"r": 45,
"g": 57,
"b": 178
},
"hsl": {
"h": 234.586,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.42134,
"c": 0.18905,
"h": 271
},
"luminance": 0.06698
}Semantic roles & 50–950 ramp
primary
#2D39B2
secondary
#C6BF75
accent
#D545E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82