#2C2973#2C2973
#2C2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.123 H 279.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2973 |
|---|---|
| RGB | rgb(44, 41, 115) |
| HSL | hsl(242, 47%, 31%) |
| HSV | hsv(242, 64%, 45%) |
| CMYK | cmyk(61.7%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(21.43, 25.08, -42.32) |
| CIE-LCH | lch(21.43, 49.20, 300.65°) |
| OKLab | oklab(33.3% 0.0196 -0.1217) |
| OKLCH | oklch(33.3% 0.123 279.1) |
| XYZ | xyz(4.9252, 3.3588, 16.6051) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 6.99
Royal
#0C1793
ΔE00 7.57
Marine
#042E60
ΔE00 8.16
Blueberry
#464196
ΔE00 8.36
Dark Royal Blue
#02066F
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2973 #707329
analogous
#294B73 #2C2973 #512973
triadic
#2C2973 #732C29 #29732C
tetradic
#2C2973 #73294B #707329 #297351
square
#2C2973 #73294B #707329 #297351
split-complementary
#2C2973 #735129 #4B7329
monochromatic
#090919 #1B1946 #2C2973 #3D39A0 #5954C2
Accessibility & contrast
On white
12.56
#2C2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2C2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2973
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2973 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c2973; /* rgb */ color: rgb(44, 41, 115); /* oklch */ color: oklch(33.3% 0.123 279.1);
Tailwind
colors: {
custom: {
50: '#6d639c',
500: '#2c2973',
950: '#000000',
},
}SCSS
$custom: #2c2973; $custom-light: #6d639c; $custom-dark: #000000;
JSON
{
"hex": "#2c2973",
"rgb": {
"r": 44,
"g": 41,
"b": 115
},
"hsl": {
"h": 242.432,
"s": 47.436,
"l": 30.588
},
"oklch": {
"l": 0.33296,
"c": 0.12324,
"h": 279.1
},
"luminance": 0.03359
}Semantic roles & 50–950 ramp
primary
#2C2973
secondary
#A2A553
accent
#D751D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E