#2A336E#2A336E
#2A336E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.102 H 273.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A336E |
|---|---|
| RGB | rgb(42, 51, 110) |
| HSL | hsl(232, 45%, 30%) |
| HSV | hsv(232, 62%, 43%) |
| CMYK | cmyk(61.8%, 53.6%, 0%, 56.9%) |
| CIE-LAB | lab(23.62, 15.96, -35.57) |
| CIE-LCH | lch(23.62, 38.98, 294.17°) |
| OKLab | oklab(34.77% 0.006 -0.1018) |
| OKLCH | oklch(34.77% 0.102 273.4) |
| XYZ | xyz(4.9522, 3.9853, 15.2571) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.97
Marine Blue
#01386A
ΔE00 7.05
Navy Blue
#1B2A4A
ΔE00 7.10
Blueberry
#464196
ΔE00 7.98
Darkish Blue
#014182
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A336E #6E652A
analogous
#2A556E #2A336E #432A6E
triadic
#2A336E #6E2A33 #336E2A
tetradic
#2A336E #6E2A55 #6E652A #2A6E43
square
#2A336E #6E2A55 #6E652A #2A6E43
split-complementary
#2A336E #6E432A #556E2A
monochromatic
#080A16 #191E42 #2A336E #3B489A #5562BE
Accessibility & contrast
On white
11.68
#2A336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2A336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A336E
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A336E | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#05356D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a336e; /* rgb */ color: rgb(42, 51, 110); /* oklch */ color: oklch(34.8% 0.102 273.4);
Tailwind
colors: {
custom: {
50: '#6b6a98',
500: '#2a336e',
950: '#000000',
},
}SCSS
$custom: #2a336e; $custom-light: #6b6a98; $custom-dark: #000000;
JSON
{
"hex": "#2a336e",
"rgb": {
"r": 42,
"g": 51,
"b": 110
},
"hsl": {
"h": 232.059,
"s": 44.737,
"l": 29.804
},
"oklch": {
"l": 0.34767,
"c": 0.10195,
"h": 273.4
},
"luminance": 0.03986
}Semantic roles & 50–950 ramp
primary
#2A336E
secondary
#A09654
accent
#C353D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E