#142A43
Very Dark Blue
A deterministic reference card for #142A43. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.
- RGB
- 20, 42, 67
- HSL
- 212°, 54%, 17%
- Text
- White on top
01 · Developer snippets
Every framework, one click away.
Copy this color into any codebase without leaving the page. Snippets are generated from the hex — never from a stale CSV.
02 · Conversions
All representations of this value.
Same color, seven encodings. Each one is click-to-copy.
03 · Nearest matches
Closest named color in every major design system.
Perceptual distance in weighted-RGB space. Click any card to explore that color next.
04 · Accessibility
WCAG contrast against white and black.
Does this color work as text, or only as background? Here's the data.
On white
The quick brown fox
Jumps over the lazy dog. Testing readability of #142A43 as the text color.
Rating · AAA
On black
The quick brown fox
Jumps over the lazy dog. Testing readability of #142A43 as the text color.
Rating · Fail
Recommendation
When using #142A43 as a background, pair it with #ffffff text for the best WCAG contrast.
Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.
05 · In context
How this color looks in real UI.
No lorem ipsum — real dashboard, button, and tag patterns with auto-contrast text.
Dashboard · card
liveMonthly revenue
$148,204
▲ 12.4% vs last month
Buttons
Tags & badges
As background
Headlines in black.
#000 · 1.44:1
Headlines in white.
#FFF · 14.56:1
Auto-contrast picks #ffffff
As text · on dark UI
Text over dark UI with #142A43.
Useful for links, stats, and emphasis — check the accessibility section above for contrast ratings.
06 · Shades & tints
Darker, and lighter.
Each step is a full color page — explore the ramp in both directions.
07 · Color schemes
Harmonies built from this hue.
Derived by rotating the HSL wheel. Good starting points for a full palette.
Split-complementary
Base plus the two colors adjacent to its complement.
08 · About this color
#142A43 at a glance
#142A43 reads as a Very Dark Blue. Red 20, green 42, blue 67. In HSL that's 212° hue, 54% saturation, 17% lightness.