Quartz Color Codes
Quartz is a light, muted blue with the hex code #D9D9F3, RGB values of 217, 217, 243 and an HSL value of hsl(240, 52%, 90%).
| HEX | #D9D9F3 |
|---|---|
| RGB | 217, 217, 243 |
| HSL | hsl(240, 52%, 90%) |
| HSV | 240°, 11%, 95% |
| CMYK | 11%, 11%, 0%, 5% |
| LAB | 87.41, 4.94, -12.67 |
| CIELCHuv | 87.41, 20.79, 265.87° |
- Nearest Pantone
- PMS 2706 C ΔE 7.0 · approximate
- Nearest CSS name
-
lavenderΔE 5.5
Community source color-name-list, community color-name index
Quartz Color Hex Code
The Quartz color hex code is #D9D9F3. Those six digits are three pairs, D9 for red, D9 for green and F3 for blue, which is the same triplet a browser reads from the CSS value below.
#D9D9F3
Quartz Color RGB Code
The Quartz RGB code is rgb(217, 217, 243). Blue carries the most light at 243 of 255, which is what puts this color where it sits on the wheel.
rgb(217, 217, 243)
Quartz Color HSV Code
The Quartz HSV code is 240°, 11%, 95%. Read it as a hue of 240 degrees, 11% saturation and 95% value, which is the form most color pickers use because moving one number changes one thing.
240°, 11%, 95%
Quartz Color CIELChuv Code
The Quartz CIELCHuv code is 87.41, 20.79, 265.87°. Unlike hex or RGB this one is perceptual: lightness 87 means light to the eye rather than to the screen, and chroma 21 is how far it sits from grey.
87.41, 20.79, 265.87°
Tonal scale
What are Quartz Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Quartz Color Palette Codes?
Each of these is a hue rotation from #D9D9F3. They are generated, not curated, so they are exact.
Complementary
The opposite hue is #F3F3D9, a very light, muted yellow. Complements carry the strongest contrast of any two-color scheme, so this pair suits a call to action better than a background. Neither is especially saturated, so this pairing stays calm enough for large areas of both.
Analogous
Its two neighbours are #D9E6F3 and #E6D9F3. Because they overlap heavily in hue, nothing in the group competes, and the eye reads the whole set as a single color with variation.
Triadic
#F3D9D9 and #D9F3D9 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #F3E6D9 and #E6F3D9. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #F3F3D9, and #F3D9E6 with #D9F3E6. The richest of the five and the hardest to balance, so treat the darkest of the four as the lead and hold the other three well back.
Accessibility
Contrast checker: is Quartz accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
1.38:11.38
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Black background
15.17:115.17
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
At 1.38:1 against white, Quartz is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 15.17:1.
Color vision
How Quartz looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#D9D9ED
Quartz shifts slightly here. ΔE 3.1
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#D9D9EC
Quartz shifts slightly here. ΔE 3.7
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#D9E8E7
Quartz shifts noticeably here. ΔE 15.6
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#DBDBDB
Quartz shifts noticeably here. ΔE 13.6
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
Quartz is stable under the common forms of color blindness: to a deuteranope it reads as #D9D9EC, a shift of only ΔE 3.7, which is close to imperceptible. Blues survive red-green deficiency well, which is why so much interface design leans on them. The form to watch here is tritanopia, though at roughly 1 in 10,000 it affects far fewer people. The widest shift is under tritanopia, at ΔE 15.6. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Quartz in code
:root {
--quartz: #D9D9F3;
}
.example {
color: var(--quartz);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'quartz': '#D9D9F3',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let quartz = Color(
red: 0.851,
green: 0.851,
blue: 0.953
)
<!-- res/values/colors.xml -->
<color name="quartz">#D9D9F3</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const quartz = Color(0xFFD9D9F3);