#1A1F2D

Closest named color: Dark (#1B2431). oklch(24.1% 0.028 269.1), rgb(26, 31, 45).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.27:1
White text16.43:1

Values

HEX#1A1F2D
RGBrgb(26, 31, 45)
HSLhsl(224, 27%, 14%)
OKLCHoklch(24.1% 0.028 269.1)

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 #1A1F2D 16.43:1 AAA Lc -105.8 Preferred for body text
Black text on #1A1F2D 1.27:1 Fails Lc 0.0 Not readable
#1A1F2D text on white 16.43:1 AAA Lc 103.4 Preferred for body text
#1A1F2D text on black 1.27: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

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D4D9E6

    oklch(88.5% 0.019 269.1)

  4. Step 300

    300

    #B8C0D7

    oklch(80.9% 0.034 270.4)

  5. Step 400

    400

    #93A0C3

    oklch(70.8% 0.053 269)

  6. Step 500

    500

    #7988B3

    oklch(63.1% 0.067 269.5)

  7. Step 600

    600

    #62729F

    oklch(55.7% 0.073 268.9)

  8. Step 700

    700

    #515F88

    oklch(49.1% 0.068 269.3)

  9. Step 800

    800

    #424E6E

    oklch(42.7% 0.056 268.2)

  10. Step 900

    900

    #384159

    oklch(37.8% 0.043 268.4)

  11. Step 950

    950 (this color)

    #1A1F2D

    oklch(24.1% 0.028 269.1)

Export this scale for Tailwind in the Tailwind colors tool

#1A1F2D 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)#1A202E0.004
Deuteranopia (no green cones)#191F2D0.002
Tritanopia (no blue cones)#1422240.026
Achromatopsia (no color)#1F1F1F0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A1F2D

    #1A1F2D

    oklch(24.1% 0.028 269.1)

  • #251F10

    #251F10

    oklch(24.2% 0.028 88.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A1F2D

    #1A1F2D

    oklch(24.1% 0.028 269.1)

  • #13212B

    #13212B

    oklch(24% 0.027 240.4)

  • #211D2B

    #211D2B

    oklch(24.2% 0.027 297.5)

Open the analogous palette in the generator

Split complementary

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

  • #1A1F2D

    #1A1F2D

    oklch(24.1% 0.028 269.1)

  • #2A1C12

    #2A1C12

    oklch(24.1% 0.028 56.4)

  • #1E2112

    #1E2112

    oklch(24% 0.027 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A1F2D

    #1A1F2D

    oklch(24.1% 0.028 269.1)

  • #2C1A18

    #2C1A18

    oklch(24.1% 0.029 26.4)

  • #162318

    #162318

    oklch(24% 0.028 148.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A1F2D

    #1A1F2D

    oklch(24.1% 0.028 269.1)

  • #2B1A1F

    #2B1A1F

    oklch(24.2% 0.028 0.2)

  • #251F10

    #251F10

    oklch(24.2% 0.028 88.5)

  • #0F2420

    #0F2420

    oklch(24.1% 0.028 180)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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