#28273A

Closest named color: Oxford Blue (#1B263B). oklch(28.3% 0.035 286.4), rgb(40, 39, 58).

Aa

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

About this color

#28273A is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.035 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.022 away. White text reads best on it, at 14.56:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.035)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.56:1

Values

HEX#28273A
RGBrgb(40, 39, 58)
HSLhsl(243, 20%, 19%)
OKLCHoklch(28.3% 0.035 286.4)

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 #28273A 14.56:1 AAA Lc -104.2 Preferred for body text
Black text on #28273A 1.44:1 Fails Lc 0.0 Not readable
#28273A text on white 14.56:1 AAA Lc 101.4 Preferred for body text
#28273A text on black 1.44: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300

    #BEBDDB

    oklch(80.9% 0.042 286.9)

  5. Step 400

    400

    #9D9BC8

    oklch(70.7% 0.065 286.6)

  6. Step 500

    500

    #8582BA

    oklch(63.1% 0.084 286.2)

  7. Step 600

    600

    #6F6BA6

    oklch(55.6% 0.091 286.2)

  8. Step 700

    700

    #5D598F

    oklch(49.1% 0.085 286.2)

  9. Step 800

    800

    #4C4974

    oklch(42.8% 0.07 286.2)

  10. Step 900

    900

    #3F3D5D

    oklch(37.6% 0.054 286.3)

  11. Step 950

    950 (this color)

    #28273A

    oklch(28.3% 0.035 286.4)

Export this scale for Tailwind in the Tailwind colors tool

#28273A 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)#22293B0.011
Deuteranopia (no green cones)#22283A0.010
Tritanopia (no blue cones)#242A2E0.029
Achromatopsia (no color)#2929290.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #28273A

    #28273A

    oklch(28.3% 0.035 286.4)

  • #2C2B16

    #2C2B16

    oklch(28.4% 0.035 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28273A

    #28273A

    oklch(28.3% 0.035 286.4)

  • #1E2A3B

    #1E2A3B

    oklch(28.2% 0.036 257.1)

  • #302435

    #302435

    oklch(28.2% 0.035 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #28273A

    #28273A

    oklch(28.3% 0.035 286.4)

  • #332715

    #332715

    oklch(28.2% 0.035 76.7)

  • #222E1C

    #222E1C

    oklch(28.4% 0.036 135.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28273A

    #28273A

    oklch(28.3% 0.035 286.4)

  • #38241B

    #38241B

    oklch(28.2% 0.035 45.1)

  • #182F26

    #182F26

    oklch(28.3% 0.034 167)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28273A

    #28273A

    oklch(28.3% 0.035 286.4)

  • #392224

    #392224

    oklch(28.2% 0.036 13.9)

  • #2C2B16

    #2C2B16

    oklch(28.4% 0.035 106.1)

  • #122F2F

    #122F2F

    oklch(28.3% 0.035 195.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28273A 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.