#2A2E6C#2A2E6C
#2A2E6C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.106 H 276.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E6C |
|---|---|
| RGB | rgb(42, 46, 108) |
| HSL | hsl(236, 44%, 29%) |
| HSV | hsv(236, 61%, 42%) |
| CMYK | cmyk(61.1%, 57.4%, 0%, 57.6%) |
| CIE-LAB | lab(22.05, 18.71, -36.82) |
| CIE-LCH | lch(22.05, 41.30, 296.94°) |
| OKLab | oklab(33.54% 0.0116 -0.1055) |
| OKLCH | oklch(33.54% 0.106 276.3) |
| XYZ | xyz(4.6377, 3.5286, 14.6211) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.31
Midnight Blue
#191970
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.22
Navy Blue
#1B2A4A
ΔE00 7.29
Marine Blue
#01386A
ΔE00 8.38
Blueberry
#464196
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E6C #6C682A
analogous
#2A4F6C #2A2E6C #472A6C
triadic
#2A2E6C #6C2A2E #2E6C2A
tetradic
#2A2E6C #6C2A4F #6C682A #2A6C47
square
#2A2E6C #6C2A4F #6C682A #2A6C47
split-complementary
#2A2E6C #6C472A #4F6C2A
monochromatic
#090916 #191B40 #2A2E6C #3B4198 #545ABC
Accessibility & contrast
On white
12.31
#2A2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2A2E6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E6C
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E6C | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#013C48
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2a2e6c; /* rgb */ color: rgb(42, 46, 108); /* oklch */ color: oklch(33.5% 0.106 276.3);
Tailwind
colors: {
custom: {
50: '#6a6697',
500: '#2a2e6c',
950: '#000000',
},
}SCSS
$custom: #2a2e6c; $custom-light: #6a6697; $custom-dark: #000000;
JSON
{
"hex": "#2a2e6c",
"rgb": {
"r": 42,
"g": 46,
"b": 108
},
"hsl": {
"h": 236.364,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.33536,
"c": 0.10614,
"h": 276.3
},
"luminance": 0.03529
}Semantic roles & 50–950 ramp
primary
#2A2E6C
secondary
#9E9A54
accent
#CC54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E