#252A36

Closest named color: Oxford Blue (#1B263B). oklch(28.5% 0.023 267.2), rgb(37, 42, 54).

Aa

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

About this color

#252A36 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Oxford Blue (#1B263B), ΔE 0.025 away. White text reads best on it, at 14.35:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameOxford Blue (#1B263B)
Black text1.46:1
White text14.35:1

Values

HEX#252A36
RGBrgb(37, 42, 54)
HSLhsl(222, 19%, 18%)
OKLCHoklch(28.5% 0.023 267.2)

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 #252A36 14.35:1 AAA Lc -104.0 Preferred for body text
Black text on #252A36 1.46:1 Fails Lc 0.0 Not readable
#252A36 text on white 14.35:1 AAA Lc 101.1 Preferred for body text
#252A36 text on black 1.46: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B9C1D3

    oklch(81% 0.027 266.6)

  5. Step 400

    400

    #94A0BD

    oklch(70.6% 0.045 267.5)

  6. Step 500

    500

    #7A89AC

    oklch(63.1% 0.056 266.7)

  7. Step 600

    600

    #637298

    oklch(55.5% 0.062 267.7)

  8. Step 700

    700

    #526082

    oklch(49.1% 0.057 267)

  9. Step 800

    800

    #434E69

    oklch(42.6% 0.047 267.2)

  10. Step 900

    900

    #394155

    oklch(37.6% 0.036 267.7)

  11. Step 950

    950 (this color)

    #252A36

    oklch(28.5% 0.023 267.2)

Export this scale for Tailwind in the Tailwind colors tool

#252A36 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)#262B370.004
Deuteranopia (no green cones)#2529360.003
Tritanopia (no blue cones)#212C2E0.020
Achromatopsia (no color)#2A2A2A0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #252A36

    #252A36

    oklch(28.5% 0.023 267.2)

  • #2F2A1D

    #2F2A1D

    oklch(28.6% 0.023 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #252A36

    #252A36

    oklch(28.5% 0.023 267.2)

  • #1F2C34

    #1F2C34

    oklch(28.5% 0.023 235.7)

  • #2B2834

    #2B2834

    oklch(28.5% 0.022 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #252A36

    #252A36

    oklch(28.5% 0.023 267.2)

  • #33271F

    #33271F

    oklch(28.4% 0.023 55.3)

  • #292C1F

    #292C1F

    oklch(28.6% 0.023 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #252A36

    #252A36

    oklch(28.5% 0.023 267.2)

  • #352624

    #352624

    oklch(28.6% 0.023 27.3)

  • #232D24

    #232D24

    oklch(28.5% 0.021 147.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #252A36

    #252A36

    oklch(28.5% 0.023 267.2)

  • #34252A

    #34252A

    oklch(28.4% 0.024 356.9)

  • #2F2A1D

    #2F2A1D

    oklch(28.6% 0.023 89.5)

  • #1E2E2A

    #1E2E2A

    oklch(28.5% 0.023 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #252A36 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.