#1F262C

Closest named color: Jet (#212529). oklch(26.4% 0.015 244.2), rgb(31, 38, 44).

Aa

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

About this color

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

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

Values

HEX#1F262C
RGBrgb(31, 38, 44)
HSLhsl(208, 17%, 15%)
OKLCHoklch(26.4% 0.015 244.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 #1F262C 15.30:1 AAA Lc -104.9 Preferred for body text
Black text on #1F262C 1.37:1 Fails Lc 0.0 Not readable
#1F262C text on white 15.30:1 AAA Lc 102.2 Preferred for body text
#1F262C 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

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D4DADF

    oklch(88.5% 0.009 242.9)

  4. Step 300

    300

    #B7C2CC

    oklch(80.9% 0.019 245.4)

  5. Step 400

    400

    #92A3B2

    oklch(70.7% 0.029 244.8)

  6. Step 500

    500

    #778C9E

    oklch(63% 0.036 244.3)

  7. Step 600

    600

    #607689

    oklch(55.5% 0.039 244.6)

  8. Step 700

    700

    #4F6375

    oklch(49% 0.038 245.8)

  9. Step 800

    800

    #41515F

    oklch(42.7% 0.031 245)

  10. Step 900

    900

    #37434E

    oklch(37.7% 0.025 246.2)

  11. Step 950

    950 (this color)

    #1F262C

    oklch(26.4% 0.015 244.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F262C 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)#24262C0.008
Deuteranopia (no green cones)#22242C0.008
Tritanopia (no blue cones)#1B27280.012
Achromatopsia (no color)#2525250.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F262C

    #1F262C

    oklch(26.4% 0.015 244.2)

  • #2A241E

    #2A241E

    oklch(26.5% 0.014 67.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F262C

    #1F262C

    oklch(26.4% 0.015 244.2)

  • #1D272A

    #1D272A

    oklch(26.5% 0.015 218)

  • #23252D

    #23252D

    oklch(26.6% 0.015 274.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F262C

    #1F262C

    oklch(26.4% 0.015 244.2)

  • #2C2320

    #2C2320

    oklch(26.5% 0.015 39.3)

  • #27251D

    #27251D

    oklch(26.4% 0.015 95.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F262C

    #1F262C

    oklch(26.4% 0.015 244.2)

  • #2C2224

    #2C2224

    oklch(26.4% 0.016 4.7)

  • #23261E

    #23261E

    oklch(26.3% 0.015 124.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F262C

    #1F262C

    oklch(26.4% 0.015 244.2)

  • #2A2228

    #2A2228

    oklch(26.4% 0.016 334.9)

  • #2A241E

    #2A241E

    oklch(26.5% 0.014 67.2)

  • #202722

    #202722

    oklch(26.4% 0.014 154.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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