#181B30

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.041 276.5), rgb(24, 27, 48).

Aa

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

About this color

#181B30 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.041 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.022 away. White text reads best on it, at 16.95:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.041)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text16.95:1

Values

HEX#181B30
RGBrgb(24, 27, 48)
HSLhsl(233, 33%, 14%)
OKLCHoklch(23% 0.041 276.5)

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 #181B30 16.95:1 AAA Lc -106.2 Preferred for body text
Black text on #181B30 1.23:1 Fails Lc 0.0 Not readable
#181B30 text on white 16.95:1 AAA Lc 103.8 Preferred for body text
#181B30 text on black 1.23: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

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EB

    oklch(88.5% 0.026 276.4)

  4. Step 300

    300

    #B8BFE0

    oklch(81% 0.047 275.9)

  5. Step 400

    400

    #949DD1

    oklch(70.8% 0.077 276.6)

  6. Step 500

    500

    #7A84C5

    oklch(63.2% 0.098 276.5)

  7. Step 600

    600

    #636CB2

    oklch(55.5% 0.109 276.7)

  8. Step 700

    700

    #525A99

    oklch(49% 0.101 276.5)

  9. Step 800

    800

    #434A7C

    oklch(42.7% 0.083 276.2)

  10. Step 900

    900

    #393E64

    oklch(37.7% 0.065 277.1)

  11. Step 950

    950 (this color)

    #181B30

    oklch(23% 0.041 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#181B30 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)#141D310.009
Deuteranopia (no green cones)#121C300.010
Tritanopia (no blue cones)#101F230.035
Achromatopsia (no color)#1C1C1C0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #181B30

    #181B30

    oklch(23% 0.041 276.5)

  • #231D04

    #231D04

    oklch(23.1% 0.041 96.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181B30

    #181B30

    oklch(23% 0.041 276.5)

  • #0B1F2F

    #0B1F2F

    oklch(23.2% 0.041 245)

  • #22182C

    #22182C

    oklch(23.1% 0.04 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #181B30

    #181B30

    oklch(23% 0.041 276.5)

  • #2A1906

    #2A1906

    oklch(23.1% 0.041 66.9)

  • #18200A

    #18200A

    oklch(22.9% 0.04 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181B30

    #181B30

    oklch(23% 0.041 276.5)

  • #2D160F

    #2D160F

    oklch(23.1% 0.04 37.7)

  • #0A2315

    #0A2315

    oklch(23.2% 0.041 156.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181B30

    #181B30

    oklch(23% 0.041 276.5)

  • #2D141A

    #2D141A

    oklch(23% 0.042 5.5)

  • #231D04

    #231D04

    oklch(23.1% 0.041 96.1)

  • #002320

    #002320

    oklch(23.1% 0.04 186.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #181B30 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.