#060828

Closest named color: Midnight (#03012D). oklch(15.9% 0.065 273.1), rgb(6, 8, 40).

Aa

White text reads best on this color (19.56:1).

About this color

#060828 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.065 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.029 away. White text reads best on it, at 19.56:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.56:1

Values

HEX#060828
RGBrgb(6, 8, 40)
HSLhsl(236, 74%, 9%)
OKLCHoklch(15.9% 0.065 273.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 #060828 19.56:1 AAA Lc -107.5 Preferred for body text
Black text on #060828 1.07:1 Fails Lc 0.0 Not readable
#060828 text on white 19.56:1 AAA Lc 105.6 Preferred for body text
#060828 text on black 1.07: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #B0BEF3

    oklch(80.9% 0.077 273.1)

  5. Step 400

    400

    #889AED

    oklch(70.6% 0.123 273.6)

  6. Step 500

    500

    #6C7FE7

    oklch(63.1% 0.157 273.3)

  7. Step 600

    600

    #5566D5

    oklch(55.6% 0.17 273.1)

  8. Step 700

    700

    #4654B9

    oklch(49.1% 0.159 273.2)

  9. Step 800

    800

    #394595

    oklch(42.6% 0.131 273.1)

  10. Step 900

    900

    #313B77

    oklch(37.7% 0.102 273.4)

  11. Step 950

    950 (this color)

    #060828

    oklch(15.9% 0.065 273.1)

Export this scale for Tailwind in the Tailwind colors tool

#060828 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)#000E290.021
Deuteranopia (no green cones)#000A270.015
Tritanopia (no blue cones)#0010160.052
Achromatopsia (no color)#0C0C0C0.065

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #060828

    #060828

    oklch(15.9% 0.065 273.1)

  • #120C00

    #120C00

    oklch(15.8% 0.032 90.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #060828

    #060828

    oklch(15.9% 0.065 273.1)

  • #000E1C

    #000E1C

    oklch(15.8% 0.039 244)

  • #130423

    #130423

    oklch(15.9% 0.064 302.9)

Open the analogous palette in the generator

Split complementary

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

  • #060828

    #060828

    oklch(15.9% 0.065 273.1)

  • #180900

    #180900

    oklch(16% 0.037 62.4)

  • #0A1000

    #0A1000

    oklch(16.1% 0.04 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #060828

    #060828

    oklch(15.9% 0.065 273.1)

  • #200200

    #200200

    oklch(15.9% 0.058 33.5)

  • #001205

    #001205

    oklch(16% 0.041 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #060828

    #060828

    oklch(15.9% 0.065 273.1)

  • #21000A

    #21000A

    oklch(16% 0.064 3.9)

  • #120C00

    #120C00

    oklch(15.8% 0.032 90.7)

  • #00110E

    #00110E

    oklch(15.9% 0.029 182)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #060828, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

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