#2A3082#2A3082
#2A3082 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.136 H 274.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3082 |
|---|---|
| RGB | rgb(42, 48, 130) |
| HSL | hsl(236, 51%, 34%) |
| HSV | hsv(236, 68%, 51%) |
| CMYK | cmyk(67.7%, 63.1%, 0%, 49%) |
| CIE-LAB | lab(24.38, 25.48, -47.05) |
| CIE-LCH | lch(24.38, 53.51, 298.44°) |
| OKLab | oklab(35.83% 0.0097 -0.1356) |
| OKLCH | oklch(35.83% 0.136 274.1) |
| XYZ | xyz(6.0397, 4.2173, 21.6105) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.64
Blueberry
#464196
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 6.29
Midnight Blue
#191970
ΔE00 6.52
Royal
#0C1793
ΔE00 7.37
Marine
#042E60
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3082 #827C2A
analogous
#2A5C82 #2A3082 #502A82
triadic
#2A3082 #822A30 #30822A
tetradic
#2A3082 #822A5C #827C2A #2A8250
square
#2A3082 #822A5C #827C2A #2A8250
split-complementary
#2A3082 #82502A #5C822A
monochromatic
#0C0E25 #1B1F54 #2A3082 #3941B0 #5C64CA
Accessibility & contrast
On white
11.39
#2A3082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2A3082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3082
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3082 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a3082; /* rgb */ color: rgb(42, 48, 130); /* oklch */ color: oklch(35.8% 0.136 274.1);
Tailwind
colors: {
custom: {
50: '#6f68a7',
500: '#2a3082',
950: '#000000',
},
}SCSS
$custom: #2a3082; $custom-light: #6f68a7; $custom-dark: #000000;
JSON
{
"hex": "#2a3082",
"rgb": {
"r": 42,
"g": 48,
"b": 130
},
"hsl": {
"h": 235.909,
"s": 51.163,
"l": 33.725
},
"oklch": {
"l": 0.35829,
"c": 0.1359,
"h": 274.1
},
"luminance": 0.04218
}Semantic roles & 50–950 ramp
primary
#2A3082
secondary
#B0AA58
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F