#18345F

Closest named color: Prussian Blue (#1D3557). oklch(32.8% 0.084 258.8), rgb(24, 52, 95).

Aa

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

About this color

#18345F is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.084 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.016 away. White text reads best on it, at 12.38:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.69:1
White text12.38:1

Values

HEX#18345F
RGBrgb(24, 52, 95)
HSLhsl(216, 60%, 23%)
OKLCHoklch(32.8% 0.084 258.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 #18345F 12.38:1 AAA Lc -101.4 Preferred for body text
Black text on #18345F 1.69:1 Fails Lc 0.0 Not readable
#18345F text on white 12.38:1 AAA Lc 97.9 Preferred for body text
#18345F text on black 1.69: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 900.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #A8C2EA

    oklch(80.8% 0.064 258.9)

  5. Step 400

    400

    #7AA2DF

    oklch(70.7% 0.1 258.6)

  6. Step 500

    500

    #5889D6

    oklch(63% 0.128 259.1)

  7. Step 600

    600

    #3D72C3

    oklch(55.6% 0.138 258.7)

  8. Step 700

    700

    #2F5FA9

    oklch(49.1% 0.13 258.9)

  9. Step 800

    800

    #284E89

    oklch(42.8% 0.107 258.9)

  10. Step 900

    900 (this color)

    #18345F

    oklch(32.8% 0.084 258.8)

  11. Step 950

    950

    #162640

    oklch(26.9% 0.053 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#18345F 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)#2038610.017
Deuteranopia (no green cones)#14315E0.011
Tritanopia (no blue cones)#003E440.067
Achromatopsia (no color)#3434340.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #18345F

    #18345F

    oklch(32.8% 0.084 258.8)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18345F

    #18345F

    oklch(32.8% 0.084 258.8)

  • #003B4F

    #003B4F

    oklch(32.9% 0.064 228.2)

  • #342C5D

    #342C5D

    oklch(32.8% 0.084 288.4)

Open the analogous palette in the generator

Split complementary

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

  • #18345F

    #18345F

    oklch(32.8% 0.084 258.8)

  • #562504

    #562504

    oklch(32.9% 0.084 49)

  • #383700

    #383700

    oklch(32.7% 0.071 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18345F

    #18345F

    oklch(32.8% 0.084 258.8)

  • #582023

    #582023

    oklch(32.9% 0.083 19.7)

  • #1C3F10

    #1C3F10

    oklch(33% 0.084 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18345F

    #18345F

    oklch(32.8% 0.084 258.8)

  • #53203C

    #53203C

    oklch(32.8% 0.084 348.6)

  • #473000

    #473000

    oklch(32.8% 0.068 79.6)

  • #003F2F

    #003F2F

    oklch(32.7% 0.065 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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