#070728

Closest named color: Midnight (#03012D). oklch(15.8% 0.066 275.7), rgb(7, 7, 40).

Aa

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

About this color

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

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

Values

HEX#070728
RGBrgb(7, 7, 40)
HSLhsl(240, 70%, 9%)
OKLCHoklch(15.8% 0.066 275.7)

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 #070728 19.62:1 AAA Lc -107.5 Preferred for body text
Black text on #070728 1.07:1 Fails Lc 0.0 Not readable
#070728 text on white 19.62:1 AAA Lc 105.6 Preferred for body text
#070728 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

    #D1D7F7

    oklch(88.5% 0.044 277.1)

  4. Step 300

    300

    #B2BDF4

    oklch(80.9% 0.079 275.7)

  5. Step 400

    400

    #8B99EE

    oklch(70.7% 0.125 275.6)

  6. Step 500

    500

    #707DE8

    oklch(63% 0.16 275.6)

  7. Step 600

    600

    #5A64D7

    oklch(55.7% 0.174 275.5)

  8. Step 700

    700

    #4B52BA

    oklch(49.2% 0.161 275.8)

  9. Step 800

    800

    #3D4497

    oklch(42.8% 0.134 275.5)

  10. Step 900

    900

    #333A78

    oklch(37.7% 0.105 275.3)

  11. Step 950

    950 (this color)

    #070728

    oklch(15.8% 0.066 275.7)

Export this scale for Tailwind in the Tailwind colors tool

#070728 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)#000D290.022
Deuteranopia (no green cones)#000A270.018
Tritanopia (no blue cones)#000F160.053
Achromatopsia (no color)#0B0B0B0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #070728

    #070728

    oklch(15.8% 0.066 275.7)

  • #110C00

    #110C00

    oklch(15.6% 0.032 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #070728

    #070728

    oklch(15.8% 0.066 275.7)

  • #000E1D

    #000E1D

    oklch(15.9% 0.041 245.7)

  • #140322

    #140322

    oklch(15.7% 0.066 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #070728

    #070728

    oklch(15.8% 0.066 275.7)

  • #170900

    #170900

    oklch(15.8% 0.036 64.6)

  • #090F00

    #090F00

    oklch(15.6% 0.039 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #070728

    #070728

    oklch(15.8% 0.066 275.7)

  • #1F0300

    #1F0300

    oklch(15.9% 0.054 36.1)

  • #001106

    #001106

    oklch(15.6% 0.038 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #070728

    #070728

    oklch(15.8% 0.066 275.7)

  • #200009

    #200009

    oklch(15.7% 0.063 4.8)

  • #110C00

    #110C00

    oklch(15.6% 0.032 93.9)

  • #00100E

    #00100E

    oklch(15.6% 0.027 185.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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