#1F232C

Closest named color: Dark (#1B2431). oklch(25.6% 0.018 266.3), rgb(31, 35, 44).

Aa

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

About this color

#1F232C is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Dark (#1B2431), ΔE 0.011 away. White text reads best on it, at 15.72:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.33:1
White text15.72:1

Values

HEX#1F232C
RGBrgb(31, 35, 44)
HSLhsl(222, 17%, 15%)
OKLCHoklch(25.6% 0.018 266.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 #1F232C 15.72:1 AAA Lc -105.3 Preferred for body text
Black text on #1F232C 1.33:1 Fails Lc 0.0 Not readable
#1F232C text on white 15.72:1 AAA Lc 102.7 Preferred for body text
#1F232C text on black 1.33: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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D5D9E1

    oklch(88.5% 0.012 264.5)

  4. Step 300

    300

    #BAC1CF

    oklch(81% 0.021 264.4)

  5. Step 400

    400

    #97A1B7

    oklch(70.8% 0.034 266.1)

  6. Step 500

    500

    #7D89A5

    oklch(63% 0.045 266.9)

  7. Step 600

    600

    #667390

    oklch(55.6% 0.048 266)

  8. Step 700

    700

    #55607A

    oklch(49% 0.044 266.9)

  9. Step 800

    800

    #464F63

    oklch(42.8% 0.035 265.9)

  10. Step 900

    900

    #3B4151

    oklch(37.6% 0.029 268.9)

  11. Step 950

    950 (this color)

    #1F232C

    oklch(25.6% 0.018 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F232C 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)#20242C0.004
Deuteranopia (no green cones)#1F222C0.004
Tritanopia (no blue cones)#1C25260.016
Achromatopsia (no color)#2323230.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F232C

    #1F232C

    oklch(25.6% 0.018 266.3)

  • #272319

    #272319

    oklch(25.7% 0.019 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F232C

    #1F232C

    oklch(25.6% 0.018 266.3)

  • #1B252B

    #1B252B

    oklch(25.8% 0.018 234.7)

  • #24212B

    #24212B

    oklch(25.5% 0.019 298.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F232C

    #1F232C

    oklch(25.6% 0.018 266.3)

  • #2A211B

    #2A211B

    oklch(25.6% 0.018 55.5)

  • #22241A

    #22241A

    oklch(25.5% 0.018 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F232C

    #1F232C

    oklch(25.6% 0.018 266.3)

  • #2B201E

    #2B201E

    oklch(25.6% 0.018 30.2)

  • #1E261E

    #1E261E

    oklch(25.8% 0.019 145)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F232C

    #1F232C

    oklch(25.6% 0.018 266.3)

  • #2A2023

    #2A2023

    oklch(25.6% 0.016 358.4)

  • #272319

    #272319

    oklch(25.7% 0.019 88.8)

  • #1A2623

    #1A2623

    oklch(25.6% 0.018 177.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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