#18518C

Closest named color: Dusk Blue (#26538D). oklch(43.1% 0.113 252.8), rgb(24, 81, 140).

Aa

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

About this color

#18518C is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.113 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.013 away. White text reads best on it, at 8.09:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.59:1
White text8.09:1

Values

HEX#18518C
RGBrgb(24, 81, 140)
HSLhsl(211, 71%, 32%)
OKLCHoklch(43.1% 0.113 252.8)

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 #18518C 8.09:1 AAA Lc -92.3 Preferred for body text
Black text on #18518C 2.59:1 Fails Lc 16.4 Dividers and decoration only
#18518C text on white 8.09:1 AAA Lc 87.6 Fine for body text
#18518C text on black 2.59:1 Fails Lc -14.5 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 800.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A3C4EB

    oklch(81% 0.066 252.8)

  5. Step 400

    400

    #6FA4E1

    oklch(70.6% 0.106 252.7)

  6. Step 500

    500

    #478CD9

    oklch(63.1% 0.136 252.9)

  7. Step 600

    600

    #2575C6

    oklch(55.7% 0.147 252.5)

  8. Step 700

    700

    #1761AB

    oklch(49% 0.137 253)

  9. Step 800

    800 (this color)

    #18518C

    oklch(43.1% 0.113 252.8)

  10. Step 900

    900

    #1A436F

    oklch(37.8% 0.088 252.6)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#18518C 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)#34558E0.029
Deuteranopia (no green cones)#204B8B0.017
Tritanopia (no blue cones)#005F670.085
Achromatopsia (no color)#5050500.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #18518C

    #18518C

    oklch(43.1% 0.113 252.8)

  • #6E4700

    #6E4700

    oklch(43.2% 0.092 73.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18518C

    #18518C

    oklch(43.1% 0.113 252.8)

  • #005970

    #005970

    oklch(43.1% 0.08 223.2)

  • #49458C

    #49458C

    oklch(43.1% 0.114 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #18518C

    #18518C

    oklch(43.1% 0.113 252.8)

  • #813613

    #813613

    oklch(43% 0.113 42.7)

  • #5A5100

    #5A5100

    oklch(43% 0.09 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18518C

    #18518C

    oklch(43.1% 0.113 252.8)

  • #82303E

    #82303E

    oklch(43% 0.113 12.9)

  • #365C0D

    #365C0D

    oklch(43% 0.113 132.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18518C

    #18518C

    oklch(43.1% 0.113 252.8)

  • #793360

    #793360

    oklch(43.2% 0.113 343.5)

  • #6E4700

    #6E4700

    oklch(43.2% 0.092 73.5)

  • #006041

    #006041

    oklch(43.3% 0.094 162.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18518C 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.