#12262B

Closest named color: Dark (#1B2431). oklch(25.4% 0.028 215.7), rgb(18, 38, 43).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.33:1
White text15.69:1

Values

HEX#12262B
RGBrgb(18, 38, 43)
HSLhsl(192, 41%, 12%)
OKLCHoklch(25.4% 0.028 215.7)

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 #12262B 15.69:1 AAA Lc -105.2 Preferred for body text
Black text on #12262B 1.33:1 Fails Lc 0.0 Not readable
#12262B text on white 15.69:1 AAA Lc 102.6 Preferred for body text
#12262B 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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CCDCE1

    oklch(88.4% 0.019 218.4)

  4. Step 300

    300

    #AAC6CE

    oklch(80.8% 0.032 216.9)

  5. Step 400

    400

    #7BA9B5

    oklch(70.6% 0.052 215.7)

  6. Step 500

    500

    #5794A3

    oklch(63.1% 0.067 215.3)

  7. Step 600

    600

    #3A7E8E

    oklch(55.6% 0.073 215.4)

  8. Step 700

    700

    #2C6A79

    oklch(49% 0.067 216.2)

  9. Step 800

    800

    #265762

    oklch(42.8% 0.056 214.5)

  10. Step 900

    900

    #244750

    oklch(37.6% 0.043 216.4)

  11. Step 950

    950 (this color)

    #12262B

    oklch(25.4% 0.028 215.7)

Export this scale for Tailwind in the Tailwind colors tool

#12262B 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)#22252B0.024
Deuteranopia (no green cones)#1F222B0.023
Tritanopia (no blue cones)#0628280.016
Achromatopsia (no color)#2323230.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #12262B

    #12262B

    oklch(25.4% 0.028 215.7)

  • #2E1E19

    #2E1E19

    oklch(25.4% 0.027 38.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12262B

    #12262B

    oklch(25.4% 0.028 215.7)

  • #122724

    #122724

    oklch(25.4% 0.028 183.9)

  • #17242F

    #17242F

    oklch(25.4% 0.028 244.7)

Open the analogous palette in the generator

Split complementary

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

  • #12262B

    #12262B

    oklch(25.4% 0.028 215.7)

  • #2E1D21

    #2E1D21

    oklch(25.4% 0.027 3.8)

  • #2C2014

    #2C2014

    oklch(25.4% 0.028 66)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12262B

    #12262B

    oklch(25.4% 0.028 215.7)

  • #2B1E28

    #2B1E28

    oklch(25.5% 0.027 334.7)

  • #272313

    #272313

    oklch(25.6% 0.028 95.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12262B

    #12262B

    oklch(25.4% 0.028 215.7)

  • #261F2D

    #261F2D

    oklch(25.4% 0.028 307.2)

  • #2E1E19

    #2E1E19

    oklch(25.4% 0.027 38.1)

  • #1F2516

    #1F2516

    oklch(25.4% 0.028 126)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12262B 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.