#2A39B5#2A39B5
#2A39B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.194 H 270.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A39B5 |
|---|---|
| RGB | rgb(42, 57, 181) |
| HSL | hsl(234, 62%, 44%) |
| HSV | hsv(234, 77%, 71%) |
| CMYK | cmyk(76.8%, 68.5%, 0%, 29%) |
| CIE-LAB | lab(31.24, 38.23, -66.91) |
| CIE-LCH | lch(31.24, 77.06, 299.74°) |
| OKLab | oklab(42.27% -0.0001 -0.1937) |
| OKLCH | oklch(42.27% 0.194 270) |
| XYZ | xyz(10.7556, 6.7535, 44.4438) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.75
Blue Blue
#2242C7
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 4.85
Blue With A Hint Of Purple
#533CC6
ΔE00 5.68
Blue (survey)
#0343DF
ΔE00 5.92
Blueberry
#464196
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A39B5 #B5A62A
analogous
#2A7EB5 #2A39B5 #602AB5
triadic
#2A39B5 #B52A39 #39B52A
tetradic
#2A39B5 #B52A7E #B5A62A #2AB560
square
#2A39B5 #B52A7E #B5A62A #2AB560
split-complementary
#2A39B5 #B5602A #7EB52A
monochromatic
#131A52 #1E2983 #2A39B5 #4857D4 #7984E0
Accessibility & contrast
On white
8.93
#2A39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A39B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A39B5
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A39B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A39B5 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a39b5; /* rgb */ color: rgb(42, 57, 181); /* oklch */ color: oklch(42.3% 0.194 270.0);
Tailwind
colors: {
custom: {
50: '#7a70cc',
500: '#2a39b5',
950: '#000000',
},
}SCSS
$custom: #2a39b5; $custom-light: #7a70cc; $custom-dark: #000000;
JSON
{
"hex": "#2a39b5",
"rgb": {
"r": 42,
"g": 57,
"b": 181
},
"hsl": {
"h": 233.525,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.42274,
"c": 0.19368,
"h": 270
},
"luminance": 0.06755
}Semantic roles & 50–950 ramp
primary
#2A39B5
secondary
#C8BF73
accent
#D442E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82