#030518

Closest named color: Midnight (#03012D). oklch(12.7% 0.044 271.3), rgb(3, 5, 24).

Aa

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

About this color

#030518 is a very dark, muted blue. In OKLCH its lightness is 13%, its chroma 0.044 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.046 away. White text reads best on it, at 20.21:1.

Hue familyBlues
Lightnessvery dark (13%)
Chromamuted (0.044)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.21:1

Values

HEX#030518
RGBrgb(3, 5, 24)
HSLhsl(234, 78%, 5%)
OKLCHoklch(12.7% 0.044 271.3)

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 #030518 20.21:1 AAA Lc -107.8 Preferred for body text
Black text on #030518 1.03:1 Fails Lc 0.0 Not readable
#030518 text on white 20.21:1 AAA Lc 105.9 Preferred for body text
#030518 text on black 1.03: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9ED

    oklch(88.6% 0.029 270.4)

  4. Step 300

    300

    #B4BFE3

    oklch(80.8% 0.052 271.8)

  5. Step 400

    400

    #8D9ED5

    oklch(70.7% 0.083 270.9)

  6. Step 500

    500

    #7285CA

    oklch(63.1% 0.107 271.4)

  7. Step 600

    600

    #5B6EB7

    oklch(55.7% 0.116 271.2)

  8. Step 700

    700

    #4B5B9E

    oklch(49.1% 0.109 271.7)

  9. Step 800

    800

    #3D4B80

    oklch(42.7% 0.09 271)

  10. Step 900

    900

    #343F67

    oklch(37.8% 0.07 271.1)

  11. Step 950

    950 (this color)

    #030518

    oklch(12.7% 0.044 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#030518 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)#0007190.013
Deuteranopia (no green cones)#0006180.011
Tritanopia (no blue cones)#00090C0.038
Achromatopsia (no color)#0606060.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #030518

    #030518

    oklch(12.7% 0.044 271.3)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #030518

    #030518

    oklch(12.7% 0.044 271.3)

  • #000811

    #000811

    oklch(12.8% 0.029 239.4)

  • #0A0315

    #0A0315

    oklch(12.7% 0.044 301.8)

Open the analogous palette in the generator

Split complementary

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

  • #030518

    #030518

    oklch(12.7% 0.044 271.3)

  • #0F0400

    #0F0400

    oklch(12.6% 0.03 57.4)

  • #050800

    #050800

    oklch(12.5% 0.031 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #030518

    #030518

    oklch(12.7% 0.044 271.3)

  • #140100

    #140100

    oklch(12.5% 0.045 33.7)

  • #000A02

    #000A02

    oklch(12.7% 0.034 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #030518

    #030518

    oklch(12.7% 0.044 271.3)

  • #140106

    #140106

    oklch(12.8% 0.045 1.5)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

  • #000907

    #000907

    oklch(12.5% 0.023 181.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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