#2A366C#2A366C
#2A366C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.094 H 271.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2A366C |
|---|---|
| RGB | rgb(42, 54, 108) |
| HSL | hsl(229, 44%, 29%) |
| HSV | hsv(229, 61%, 42%) |
| CMYK | cmyk(61.1%, 50%, 0%, 57.6%) |
| CIE-LAB | lab(24.36, 13.12, -33.09) |
| CIE-LCH | lch(24.36, 35.60, 291.62°) |
| OKLab | oklab(35.28% 0.0023 -0.0945) |
| OKLCH | oklch(35.28% 0.094 271.4) |
| XYZ | xyz(4.9799, 4.2129, 14.7352) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.24
Marine Blue
#01386A
ΔE00 6.30
Navy Blue
#1B2A4A
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 7.44
Darkish Blue
#014182
ΔE00 7.49
Twilight Blue
#0A437A
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A366C #6C602A
analogous
#2A576C #2A366C #3F2A6C
triadic
#2A366C #6C2A36 #366C2A
tetradic
#2A366C #6C2A57 #6C602A #2A6C3F
square
#2A366C #6C2A57 #6C602A #2A6C3F
split-complementary
#2A366C #6C3F2A #576C2A
monochromatic
#090B16 #192040 #2A366C #3B4C98 #5467BC
Accessibility & contrast
On white
11.40
#2A366C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2A366C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A366C
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A366C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A366C | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3D6E
Deuteranopia (green-blind)
#12376B
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a366c; /* rgb */ color: rgb(42, 54, 108); /* oklch */ color: oklch(35.3% 0.094 271.4);
Tailwind
colors: {
custom: {
50: '#6a6c96',
500: '#2a366c',
950: '#000000',
},
}SCSS
$custom: #2a366c; $custom-light: #6a6c96; $custom-dark: #000000;
JSON
{
"hex": "#2a366c",
"rgb": {
"r": 42,
"g": 54,
"b": 108
},
"hsl": {
"h": 229.091,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.35283,
"c": 0.09448,
"h": 271.4
},
"luminance": 0.04213
}Semantic roles & 50–950 ramp
primary
#2A366C
secondary
#9E9154
accent
#BD54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E