#2A2C73#2A2C73
#2A2C73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.7% C 0.120 H 276.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C73 |
|---|---|
| RGB | rgb(42, 44, 115) |
| HSL | hsl(238, 46%, 31%) |
| HSV | hsv(238, 63%, 45%) |
| CMYK | cmyk(63.5%, 61.7%, 0%, 54.9%) |
| CIE-LAB | lab(22.06, 22.67, -41.31) |
| CIE-LCH | lch(22.06, 47.12, 298.76°) |
| OKLab | oklab(33.72% 0.0139 -0.1187) |
| OKLCH | oklch(33.72% 0.12 276.7) |
| XYZ | xyz(4.9490, 3.5310, 16.6371) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.75
Marine
#042E60
ΔE00 7.16
Blueberry
#464196
ΔE00 7.98
Royal
#0C1793
ΔE00 8.21
Navy Blue
#1B2A4A
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C73 #73712A
analogous
#2A5073 #2A2C73 #4C2A73
triadic
#2A2C73 #732A2C #2C732A
tetradic
#2A2C73 #732A50 #73712A #2A734C
square
#2A2C73 #732A50 #73712A #2A734C
split-complementary
#2A2C73 #734C2A #50732A
monochromatic
#090A19 #1A1B46 #2A2C73 #3A3DA0 #5659C1
Accessibility & contrast
On white
12.31
#2A2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2A2C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C73
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C73 | 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)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2a2c73; /* rgb */ color: rgb(42, 44, 115); /* oklch */ color: oklch(33.7% 0.120 276.7);
Tailwind
colors: {
custom: {
50: '#6c659c',
500: '#2a2c73',
950: '#000000',
},
}SCSS
$custom: #2a2c73; $custom-light: #6c659c; $custom-dark: #000000;
JSON
{
"hex": "#2a2c73",
"rgb": {
"r": 42,
"g": 44,
"b": 115
},
"hsl": {
"h": 238.356,
"s": 46.497,
"l": 30.784
},
"oklch": {
"l": 0.33719,
"c": 0.11955,
"h": 276.7
},
"luminance": 0.03531
}Semantic roles & 50–950 ramp
primary
#2A2C73
secondary
#A5A354
accent
#D352D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E