#2A336A#2A336A
#2A336A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.096 H 273.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A336A |
|---|---|
| RGB | rgb(42, 51, 106) |
| HSL | hsl(232, 43%, 29%) |
| HSV | hsv(232, 60%, 42%) |
| CMYK | cmyk(60.4%, 51.9%, 0%, 58.4%) |
| CIE-LAB | lab(23.34, 14.47, -33.45) |
| CIE-LCH | lch(23.34, 36.44, 293.39°) |
| OKLab | oklab(34.46% 0.0056 -0.0955) |
| OKLCH | oklch(34.46% 0.096 273.4) |
| XYZ | xyz(4.7393, 3.9002, 14.1359) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.43
Navy Blue
#1B2A4A
ΔE00 6.50
Marine Blue
#01386A
ΔE00 7.03
Darkslateblue
#483D8B
ΔE00 7.49
Darkish Blue
#014182
ΔE00 8.44
Blueberry
#464196
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A336A #6A612A
analogous
#2A536A #2A336A #412A6A
triadic
#2A336A #6A2A33 #336A2A
tetradic
#2A336A #6A2A53 #6A612A #2A6A41
square
#2A336A #6A2A53 #6A612A #2A6A41
split-complementary
#2A336A #6A412A #536A2A
monochromatic
#090B16 #191E3E #2A336A #3B4896 #5362BB
Accessibility & contrast
On white
11.80
#2A336A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2A336A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A336A
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A336A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A336A | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173A6C
Deuteranopia (green-blind)
#0D3569
Tritanopia (blue-blind)
#033F49
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a336a; /* rgb */ color: rgb(42, 51, 106); /* oklch */ color: oklch(34.5% 0.096 273.4);
Tailwind
colors: {
custom: {
50: '#6a6a95',
500: '#2a336a',
950: '#000000',
},
}SCSS
$custom: #2a336a; $custom-light: #6a6a95; $custom-dark: #000000;
JSON
{
"hex": "#2a336a",
"rgb": {
"r": 42,
"g": 51,
"b": 106
},
"hsl": {
"h": 231.563,
"s": 43.243,
"l": 29.02
},
"oklch": {
"l": 0.34461,
"c": 0.09569,
"h": 273.4
},
"luminance": 0.03901
}Semantic roles & 50–950 ramp
primary
#2A336A
secondary
#9C9254
accent
#C155D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E