#1F262E

Closest named color: Jet (#212529). oklch(26.5% 0.018 251.9), rgb(31, 38, 46).

Aa

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

About this color

#1F262E is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.009 away. White text reads best on it, at 15.27:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.27:1

Values

HEX#1F262E
RGBrgb(31, 38, 46)
HSLhsl(212, 19%, 15%)
OKLCHoklch(26.5% 0.018 251.9)

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 #1F262E 15.27:1 AAA Lc -104.9 Preferred for body text
Black text on #1F262E 1.37:1 Fails Lc 0.0 Not readable
#1F262E text on white 15.27:1 AAA Lc 102.2 Preferred for body text
#1F262E text on black 1.37: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

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D4DAE1

    oklch(88.6% 0.012 252.1)

  4. Step 300

    300

    #B7C2CE

    oklch(80.9% 0.021 250.4)

  5. Step 400

    400

    #92A2B6

    oklch(70.6% 0.034 254.1)

  6. Step 500

    500

    #778CA4

    oklch(63.2% 0.044 251.9)

  7. Step 600

    600

    #5F768F

    oklch(55.7% 0.048 250.8)

  8. Step 700

    700

    #4F6379

    oklch(49.2% 0.043 251.1)

  9. Step 800

    800

    #405163

    oklch(42.8% 0.037 250.2)

  10. Step 900

    900

    #374351

    oklch(37.8% 0.029 252.5)

  11. Step 950

    950 (this color)

    #1F262E

    oklch(26.5% 0.018 251.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F262E 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)#23262E0.007
Deuteranopia (no green cones)#21252E0.005
Tritanopia (no blue cones)#1B28290.015
Achromatopsia (no color)#2525250.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F262E

    #1F262E

    oklch(26.5% 0.018 251.9)

  • #2B241C

    #2B241C

    oklch(26.6% 0.018 70.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F262E

    #1F262E

    oklch(26.5% 0.018 251.9)

  • #1C272C

    #1C272C

    oklch(26.5% 0.018 227.5)

  • #24242E

    #24242E

    oklch(26.5% 0.019 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F262E

    #1F262E

    oklch(26.5% 0.018 251.9)

  • #2D231E

    #2D231E

    oklch(26.6% 0.018 48)

  • #27261C

    #27261C

    oklch(26.6% 0.018 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F262E

    #1F262E

    oklch(26.5% 0.018 251.9)

  • #2D2223

    #2D2223

    oklch(26.5% 0.017 12.2)

  • #22271E

    #22271E

    oklch(26.5% 0.018 131.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F262E

    #1F262E

    oklch(26.5% 0.018 251.9)

  • #2C2228

    #2C2228

    oklch(26.6% 0.018 341.7)

  • #2B241C

    #2B241C

    oklch(26.6% 0.018 70.7)

  • #1E2823

    #1E2823

    oklch(26.5% 0.017 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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