#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 familyBlues
Lightnessvery dark (17%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameNight Blue (#040348)
Black text1.08:1
White text19.41:1

Values

HEX#060040
RGBrgb(6, 0, 64)
HSLhsl(246, 100%, 13%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400

    #7E99FF

    oklch(70.7% 0.152 270.9)

  6. Step 500

    500

    #607BFF

    oklch(63.2% 0.197 271)

  7. Step 600

    600

    #4658FF

    oklch(55.6% 0.245 271)

  8. Step 700

    700

    #3732F9

    oklch(49.1% 0.276 271)

  9. Step 800

    800

    #2C2DC8

    oklch(42.6% 0.228 271)

  10. Step 900

    900

    #252D9E

    oklch(37.7% 0.179 271.1)

  11. Step 950

    950 (this color)

    #060040

    oklch(17.4% 0.113 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0010420.037
Deuteranopia (no green cones)#000A3F0.023
Tritanopia (no blue cones)#0015210.086
Achromatopsia (no color)#0D0D0D0.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)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #060040

    #060040

    oklch(17.4% 0.113 271.1)

  • #001220

    #001220

    oklch(17.4% 0.04 240.6)

  • #180031

    #180031

    oklch(17.3% 0.092 300.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #060040

    #060040

    oklch(17.4% 0.113 271.1)

  • #1C0B00

    #1C0B00

    oklch(17.2% 0.04 61.2)

  • #0E1300

    #0E1300

    oklch(17.5% 0.042 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #060040

    #060040

    oklch(17.4% 0.113 271.1)

  • #270100

    #270100

    oklch(17.4% 0.068 30.7)

  • #001606

    #001606

    oklch(17.5% 0.046 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #060040

    #060040

    oklch(17.4% 0.113 271.1)

  • #26000E

    #26000E

    oklch(17.4% 0.07 1.6)

  • #160F00

    #160F00

    oklch(17.3% 0.035 89.8)

  • #001511

    #001511

    oklch(17.5% 0.032 179.8)

Open the square palette in the generator

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.

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.