#030820

Closest named color: Midnight (#03012D). oklch(14.7% 0.052 266.9), rgb(3, 8, 32).

Aa

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

About this color

#030820 is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.052 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.036 away. White text reads best on it, at 19.82:1.

Hue familyBlues
Lightnessvery dark (15%)
Chromamuted (0.052)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.05:1
White text19.82:1

Values

HEX#030820
RGBrgb(3, 8, 32)
HSLhsl(230, 83%, 7%)
OKLCHoklch(14.7% 0.052 266.9)

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 #030820 19.82:1 AAA Lc -107.7 Preferred for body text
Black text on #030820 1.05:1 Fails Lc 0.0 Not readable
#030820 text on white 19.82:1 AAA Lc 105.7 Preferred for body text
#030820 text on black 1.05: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #AEC0EA

    oklch(80.8% 0.063 266.8)

  5. Step 400

    400

    #859FDF

    oklch(70.8% 0.099 266.9)

  6. Step 500

    500

    #6786D6

    oklch(63.2% 0.126 266.8)

  7. Step 600

    600

    #4F6EC3

    oklch(55.6% 0.137 266.9)

  8. Step 700

    700

    #405BA9

    oklch(49.1% 0.129 267.2)

  9. Step 800

    800

    #344B89

    oklch(42.7% 0.107 266.6)

  10. Step 900

    900

    #2E3F6D

    oklch(37.7% 0.082 267.1)

  11. Step 950

    950 (this color)

    #030820

    oklch(14.7% 0.052 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#030820 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)#000B210.012
Deuteranopia (no green cones)#0008200.009
Tritanopia (no blue cones)#000E120.042
Achromatopsia (no color)#0A0A0A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #030820

    #030820

    oklch(14.7% 0.052 266.9)

  • #100900

    #100900

    oklch(14.6% 0.03 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #030820

    #030820

    oklch(14.7% 0.052 266.9)

  • #000C16

    #000C16

    oklch(14.6% 0.032 237.2)

  • #0D051D

    #0D051D

    oklch(14.7% 0.051 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #030820

    #030820

    oklch(14.7% 0.052 266.9)

  • #150600

    #150600

    oklch(14.5% 0.036 56.1)

  • #0A0C00

    #0A0C00

    oklch(14.7% 0.033 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #030820

    #030820

    oklch(14.7% 0.052 266.9)

  • #1C0101

    #1C0101

    oklch(14.6% 0.055 27.4)

  • #000F02

    #000F02

    oklch(14.7% 0.043 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #030820

    #030820

    oklch(14.7% 0.052 266.9)

  • #1A010B

    #1A010B

    oklch(14.6% 0.054 355.8)

  • #100900

    #100900

    oklch(14.6% 0.03 84.6)

  • #000E0A

    #000E0A

    oklch(14.6% 0.027 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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