#1F2136

Closest named color: Dark (#1B2431). oklch(25.6% 0.04 279), rgb(31, 33, 54).

Aa

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

About this color

#1F2136 is a dark, muted blue. In OKLCH its lightness is 26%, its chroma 0.040 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.017 away. White text reads best on it, at 15.80:1.

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.040)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.32:1
White text15.80:1

Values

HEX#1F2136
RGBrgb(31, 33, 54)
HSLhsl(235, 27%, 17%)
OKLCHoklch(25.6% 0.04 279)

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 #1F2136 15.80:1 AAA Lc -105.3 Preferred for body text
Black text on #1F2136 1.32:1 Fails Lc 0.0 Not readable
#1F2136 text on white 15.80:1 AAA Lc 102.7 Preferred for body text
#1F2136 text on black 1.32: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D5D8EB

    oklch(88.6% 0.026 278.7)

  4. Step 300

    300

    #B9BEDF

    oklch(80.8% 0.047 278.5)

  5. Step 400

    400

    #969CCF

    oklch(70.7% 0.075 279.1)

  6. Step 500

    500

    #7D83C3

    oklch(63.1% 0.096 279.1)

  7. Step 600

    600

    #676CAF

    oklch(55.7% 0.104 279.2)

  8. Step 700

    700

    #555A97

    oklch(49.1% 0.097 278.6)

  9. Step 800

    800

    #464A7A

    oklch(42.8% 0.079 278.9)

  10. Step 900

    900

    #3A3E62

    oklch(37.7% 0.062 278.2)

  11. Step 950

    950 (this color)

    #1F2136

    oklch(25.6% 0.04 279)

Export this scale for Tailwind in the Tailwind colors tool

#1F2136 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)#1A23370.010
Deuteranopia (no green cones)#1922350.011
Tritanopia (no blue cones)#1925290.034
Achromatopsia (no color)#2323230.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2136

    #1F2136

    oklch(25.6% 0.04 279)

  • #28230B

    #28230B

    oklch(25.5% 0.039 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2136

    #1F2136

    oklch(25.6% 0.04 279)

  • #132535

    #132535

    oklch(25.7% 0.039 246.8)

  • #291E32

    #291E32

    oklch(25.8% 0.04 309)

Open the analogous palette in the generator

Split complementary

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

  • #1F2136

    #1F2136

    oklch(25.6% 0.04 279)

  • #301F0C

    #301F0C

    oklch(25.6% 0.04 67.3)

  • #1D2712

    #1D2712

    oklch(25.7% 0.039 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2136

    #1F2136

    oklch(25.6% 0.04 279)

  • #331C15

    #331C15

    oklch(25.5% 0.039 37.7)

  • #10291C

    #10291C

    oklch(25.6% 0.04 159)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2136

    #1F2136

    oklch(25.6% 0.04 279)

  • #331B1F

    #331B1F

    oklch(25.6% 0.038 9.4)

  • #28230B

    #28230B

    oklch(25.5% 0.039 97.7)

  • #062927

    #062927

    oklch(25.6% 0.039 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F2136 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.