#060040
Closest named color: Night Blue (#040348). oklch(17.4% 0.113 271.1), rgb(6, 0, 64).
Aa
White text reads best on this color (19.41:1).
About this color
#060040 is a very dark, moderately saturated blue. In OKLCH its lightness is 17%, its chroma 0.113 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Night Blue (#040348), ΔE 0.019 away. White text reads best on it, at 19.41:1.
| Hue family | Blues |
| Lightness | very dark (17%) |
| Chroma | moderately saturated (0.113) |
| Temperature | cool |
| Nearest name | Night Blue (#040348) |
| Black text | 1.08:1 |
| White text | 19.41:1 |
Values
| HEX | #060040 |
| RGB | rgb(6, 0, 64) |
| HSL | hsl(246, 100%, 13%) |
| OKLCH | oklch(17.4% 0.113 271.1) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #060040 | 19.41:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #060040 | 1.08:1 | Fails | Lc 0.0 | Not readable |
| #060040 text on white | 19.41:1 | AAA | Lc 104.9 | Preferred for body text |
| #060040 text on black | 1.08:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FF
oklch(93.5% 0.031 271.7)
-
Step 200
200
#CBD8FF
oklch(88.5% 0.056 270.7)
-
Step 300
300
#AABEFF
oklch(81% 0.095 271)
-
Step 400
400
#7E99FF
oklch(70.7% 0.152 270.9)
-
Step 500
500
#607BFF
oklch(63.2% 0.197 271)
-
Step 600
600
#4658FF
oklch(55.6% 0.245 271)
-
Step 700
700
#3732F9
oklch(49.1% 0.276 271)
-
Step 800
800
#2C2DC8
oklch(42.6% 0.228 271)
-
Step 900
900
#252D9E
oklch(37.7% 0.179 271.1)
-
Step 950
950 (this color)
#060040
oklch(17.4% 0.113 271.1)
#060040 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #001042 | 0.037 |
| Deuteranopia (no green cones) | #000A3F | 0.023 |
| Tritanopia (no blue cones) | #001521 | 0.086 |
| Achromatopsia (no color) | #0D0D0D | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #060040
#060040
oklch(17.4% 0.113 271.1)
- #160F00
#160F00
oklch(17.3% 0.035 89.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #060040
These curated palettes and gradients contain exactly #060040. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Night Blue #040348 ΔE 0.019
- Dark Navy #000435 ΔE 0.025
- Very Dark Blue #000133 ΔE 0.032
- Midnight #03012D ΔE 0.040
- Dark Navy Blue #00022E ΔE 0.040
- Navy Blue #001146 ΔE 0.041
- Dark Indigo #1F0954 ΔE 0.072
- Darkblue #030764 ΔE 0.075
Use #060040 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.