#182240

Closest named color: Oxford Blue (#1B263B). oklch(26% 0.058 268.3), rgb(24, 34, 64).

Aa

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

About this color

#182240 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.058 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.019 away. White text reads best on it, at 15.65:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.65:1

Values

HEX#182240
RGBrgb(24, 34, 64)
HSLhsl(225, 45%, 17%)
OKLCHoklch(26% 0.058 268.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 #182240 15.65:1 AAA Lc -105.2 Preferred for body text
Black text on #182240 1.34:1 Fails Lc 0.0 Not readable
#182240 text on white 15.65:1 AAA Lc 102.5 Preferred for body text
#182240 text on black 1.34: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #AEC0EE

    oklch(81% 0.068 268.2)

  5. Step 400

    400

    #839EE6

    oklch(70.8% 0.11 267.8)

  6. Step 500

    500

    #6584DE

    oklch(63.1% 0.14 267.9)

  7. Step 600

    600

    #4E6BCC

    oklch(55.6% 0.153 268.5)

  8. Step 700

    700

    #3F59B1

    oklch(49.1% 0.143 268.4)

  9. Step 800

    800

    #34498F

    oklch(42.7% 0.118 268.5)

  10. Step 900

    900

    #2D3E72

    oklch(37.7% 0.092 268.2)

  11. Step 950

    950 (this color)

    #182240

    oklch(26% 0.058 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#182240 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)#1525410.010
Deuteranopia (no green cones)#11223F0.010
Tritanopia (no blue cones)#04292D0.054
Achromatopsia (no color)#2323230.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #182240

    #182240

    oklch(26% 0.058 268.3)

  • #2F2200

    #2F2200

    oklch(26% 0.053 87.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #182240

    #182240

    oklch(26% 0.058 268.3)

  • #00273C

    #00273C

    oklch(25.9% 0.057 238)

  • #281D3C

    #281D3C

    oklch(26% 0.058 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #182240

    #182240

    oklch(26% 0.058 268.3)

  • #381C02

    #381C02

    oklch(26% 0.058 59.7)

  • #212702

    #212702

    oklch(25.8% 0.057 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #182240

    #182240

    oklch(26% 0.058 268.3)

  • #3C1713

    #3C1713

    oklch(26% 0.059 28.1)

  • #0C2B13

    #0C2B13

    oklch(25.8% 0.057 148.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #182240

    #182240

    oklch(26% 0.058 268.3)

  • #3A1624

    #3A1624

    oklch(26% 0.06 357.6)

  • #2F2200

    #2F2200

    oklch(26% 0.053 87.4)

  • #002B24

    #002B24

    oklch(25.9% 0.047 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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