#27273B

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.037 283.8), rgb(39, 39, 59).

Aa

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

About this color

#27273B is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.037 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.020 away. White text reads best on it, at 14.58:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.037)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.58:1

Values

HEX#27273B
RGBrgb(39, 39, 59)
HSLhsl(240, 20%, 19%)
OKLCHoklch(28.2% 0.037 283.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 #27273B 14.58:1 AAA Lc -104.3 Preferred for body text
Black text on #27273B 1.43:1 Fails Lc 0.0 Not readable
#27273B text on white 14.58:1 AAA Lc 101.4 Preferred for body text
#27273B text on black 1.43: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

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D7D7E9

    oklch(88.5% 0.025 285.9)

  4. Step 300

    300

    #BCBDDC

    oklch(80.8% 0.043 283.9)

  5. Step 400

    400

    #9B9BCB

    oklch(70.7% 0.07 284.5)

  6. Step 500

    500

    #8382BD

    oklch(63.1% 0.088 284.4)

  7. Step 600

    600

    #6C6BAA

    oklch(55.6% 0.097 283.5)

  8. Step 700

    700

    #5B5992

    oklch(49.1% 0.09 284.2)

  9. Step 800

    800

    #4A4976

    oklch(42.7% 0.074 283.8)

  10. Step 900

    900

    #3E3D5F

    oklch(37.7% 0.058 284.6)

  11. Step 950

    950 (this color)

    #27273B

    oklch(28.2% 0.037 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#27273B 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)#21293C0.011
Deuteranopia (no green cones)#21283A0.011
Tritanopia (no blue cones)#222B2E0.033
Achromatopsia (no color)#2929290.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #27273B

    #27273B

    oklch(28.2% 0.037 283.8)

  • #2C2A14

    #2C2A14

    oklch(28.1% 0.036 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27273B

    #27273B

    oklch(28.2% 0.037 283.8)

  • #1D2A3B

    #1D2A3B

    oklch(28.1% 0.036 255.4)

  • #302436

    #302436

    oklch(28.2% 0.036 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #27273B

    #27273B

    oklch(28.2% 0.037 283.8)

  • #342714

    #342714

    oklch(28.3% 0.037 75.9)

  • #222D1B

    #222D1B

    oklch(28.1% 0.035 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27273B

    #27273B

    oklch(28.2% 0.037 283.8)

  • #39231A

    #39231A

    oklch(28.1% 0.038 43)

  • #172F24

    #172F24

    oklch(28.2% 0.037 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27273B

    #27273B

    oklch(28.2% 0.037 283.8)

  • #392224

    #392224

    oklch(28.2% 0.036 13.9)

  • #2C2A14

    #2C2A14

    oklch(28.1% 0.036 103.9)

  • #102F2F

    #102F2F

    oklch(28.2% 0.036 195.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27273B 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.