Space Cadet color code: #1D2951
A recognised named navy with a soft violet undertone and strong contrast against white.
Space Cadet · rgb(29, 41, 81)
Every format for Space Cadet
- HEX
- #1D2951
- RGB
- rgb(29, 41, 81)
- HSL
- hsl(226, 47%, 22%)
- HSV
- 226°, 64%, 32%
- CMYK
- 64%, 49%, 0%, 68%
- Lightness
- 22% · dark
Hue sits at 226°, which makes Space Cadet a true blue navy, with 47% saturation. In the Midnight Navy family it reads as a dark option.
Text contrast on Space Cadet
Contrast ratios are calculated using the WCAG 2.1 relative luminance formula. Normal body text needs 4.5:1 and large text needs 3:1 to pass AA.
White text on Space Cadet
The quick brown fox jumps over the lazy dog.
14.11:1 — AAA for normal textBlack text on Space Cadet
The quick brown fox jumps over the lazy dog.
1.49:1 — below AA, decorative use onlySpace Cadet text on white
The quick brown fox jumps over the lazy dog.
14.11:1 — AAA for normal textAccessibility notes
- Pair Space Cadet with white text for the strongest reading experience: that combination gives 14.11:1.
- Used as a text colour on white, it clears the 3:1 bar for large headings.
- Never rely on Space Cadet alone to communicate state. Add an icon, label or underline so the meaning survives for colour-blind users and in greyscale printing.
- When placing text over a photograph tinted with Space Cadet, add a solid overlay first. Contrast measured against a flat colour does not hold over varying imagery.
Using Space Cadet in CSS and HTML
CSS example
:root {
--space-cadet: #1D2951;
}
.panel {
background-color: var(--space-cadet);
color: #FFFFFF;
border: 1px solid #1D2951;
}HTML example
<div style="background-color: #1D2951; color: #FFFFFF; padding: 1rem;">
Space Cadet #1D2951
</div>Common uses
- Page and section backgrounds in dark interfaces, where it holds white text cleanly.
- Midnight Navy palettes for brand systems that need a dependable cool anchor.
- Print work where a deep blue is preferred to black, using the CMYK build 64%, 49%, 0%, 68%.
- Data visualisation, as one step in a lightness-based navy scale.
Design recommendations
- Build lighter and darker variants by changing only the lightness in
hsl(226, 47%, 22%). Keeping hue fixed is what makes a scale look intentional. - Give Space Cadet at least one warm counterweight. A cool palette with no warm accent tends to read as cold rather than calm.
- Saturation is moderate, which makes this shade forgiving across large areas and long reading sessions.
Complementary and matching colors
Each of these is derived from the hue, saturation and lightness of Space Cadet. Click a swatch to copy it.
Similar navy shades
Continue exploring
FAQs about Space Cadet
What is the Space Cadet color code?
The Space Cadet color code is #1D2951 in HEX, rgb(29, 41, 81) in RGB and hsl(226, 47%, 22%) in HSL.
What is the RGB value of Space Cadet?
Space Cadet is rgb(29, 41, 81), meaning 29 units of red, 41 of green and 81 of blue on the 0 to 255 scale.
What is the CMYK value of Space Cadet?
In CMYK, Space Cadet converts to approximately 64%, 49%, 0%, 68%. Printed output will look slightly less saturated than the screen preview because CMYK covers a narrower gamut.
Does white text work on Space Cadet?
White text on Space Cadet gives a contrast ratio of 14.11:1, which is AAA for normal text.
Does black text work on Space Cadet?
Black text on Space Cadet gives a contrast ratio of 1.49:1, which is below AA, decorative use only.
Which colors go with Space Cadet?
Its direct complement is #968036, and the warm accent #CACC28 works well for calls to action. For a quieter scheme, pair it with the analogous blues listed above.
Is Space Cadet a light or dark navy?
At 22% lightness, Space Cadet is classed as a dark navy in this collection.