#03040F

Closest named color: Almost Black (#070D0D). oklch(11.4% 0.029 274.6), rgb(3, 4, 15).

Aa

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

About this color

#03040F is a very dark close to neutral grey. In OKLCH its lightness is 11%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.048 away. White text reads best on it, at 20.42:1.

Hue familyNeutrals
Lightnessvery dark (11%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.02:1
White text20.42:1

Values

HEX#03040F
RGBrgb(3, 4, 15)
HSLhsl(235, 67%, 4%)
OKLCHoklch(11.4% 0.029 274.6)

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 #03040F 20.42:1 AAA Lc -107.8 Preferred for body text
Black text on #03040F 1.02:1 Fails Lc 0.0 Not readable
#03040F text on white 20.42:1 AAA Lc 106.0 Preferred for body text
#03040F text on black 1.02: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E6

    oklch(88.4% 0.019 276.3)

  4. Step 300

    300

    #B9BFD7

    oklch(80.8% 0.034 274.5)

  5. Step 400

    400

    #969FC4

    oklch(70.8% 0.055 274.2)

  6. Step 500

    500

    #7C87B4

    oklch(63.2% 0.069 273.6)

  7. Step 600

    600

    #6670A0

    oklch(55.6% 0.076 274.6)

  8. Step 700

    700

    #545D89

    oklch(49% 0.072 274.6)

  9. Step 800

    800

    #454C6F

    oklch(42.6% 0.059 274.9)

  10. Step 900

    900

    #3A405A

    oklch(37.7% 0.045 274)

  11. Step 950

    950 (this color)

    #03040F

    oklch(11.4% 0.029 274.6)

Export this scale for Tailwind in the Tailwind colors tool

#03040F 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)#01050F0.010
Deuteranopia (no green cones)#01040F0.009
Tritanopia (no blue cones)#0106080.025
Achromatopsia (no color)#0505050.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #03040F

    #03040F

    oklch(11.4% 0.029 274.6)

  • #070500

    #070500

    oklch(11.5% 0.024 97.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #03040F

    #03040F

    oklch(11.4% 0.029 274.6)

  • #00050E

    #00050E

    oklch(11.2% 0.029 246.7)

  • #07030D

    #07030D

    oklch(11.5% 0.029 305.1)

Open the analogous palette in the generator

Split complementary

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

  • #03040F

    #03040F

    oklch(11.4% 0.029 274.6)

  • #0B0300

    #0B0300

    oklch(11.3% 0.027 59.4)

  • #030600

    #030600

    oklch(11.2% 0.029 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #03040F

    #03040F

    oklch(11.4% 0.029 274.6)

  • #0D0201

    #0D0201

    oklch(11.3% 0.029 33.5)

  • #000702

    #000702

    oklch(11.3% 0.028 154.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #03040F

    #03040F

    oklch(11.4% 0.029 274.6)

  • #0D0204

    #0D0204

    oklch(11.5% 0.029 5.4)

  • #070500

    #070500

    oklch(11.5% 0.024 97.4)

  • #000706

    #000706

    oklch(11.6% 0.02 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #03040F 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.