#12262E

Closest named color: Dark (#1B2431). oklch(25.6% 0.03 225.9), rgb(18, 38, 46).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.030)
Temperatureneutral
Nearest nameDark (#1B2431)
Black text1.34:1
White text15.64:1

Values

HEX#12262E
RGBrgb(18, 38, 46)
HSLhsl(197, 44%, 13%)
OKLCHoklch(25.6% 0.03 225.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 #12262E 15.64:1 AAA Lc -105.2 Preferred for body text
Black text on #12262E 1.34:1 Fails Lc 0.0 Not readable
#12262E text on white 15.64:1 AAA Lc 102.5 Preferred for body text
#12262E text on black 1.34: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CCDCE3

    oklch(88.5% 0.02 225.7)

  4. Step 300

    300

    #A9C6D2

    oklch(80.9% 0.036 224.7)

  5. Step 400

    400

    #7AA8BC

    oklch(70.6% 0.057 226.7)

  6. Step 500

    500

    #5693AB

    oklch(63.1% 0.073 225.4)

  7. Step 600

    600

    #397D97

    oklch(55.7% 0.079 226)

  8. Step 700

    700

    #2B6980

    oklch(49.1% 0.073 225.7)

  9. Step 800

    800

    #255668

    oklch(42.7% 0.06 225)

  10. Step 900

    900

    #234755

    oklch(37.7% 0.048 225.6)

  11. Step 950

    950 (this color)

    #12262E

    oklch(25.6% 0.03 225.9)

Export this scale for Tailwind in the Tailwind colors tool

#12262E 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)#22252E0.024
Deuteranopia (no green cones)#1E222E0.021
Tritanopia (no blue cones)#0428290.020
Achromatopsia (no color)#2323230.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #12262E

    #12262E

    oklch(25.6% 0.03 225.9)

  • #2F1E17

    #2F1E17

    oklch(25.4% 0.03 43.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12262E

    #12262E

    oklch(25.6% 0.03 225.9)

  • #102728

    #102728

    oklch(25.5% 0.029 199.2)

  • #192431

    #192431

    oklch(25.6% 0.029 253)

Open the analogous palette in the generator

Split complementary

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

  • #12262E

    #12262E

    oklch(25.6% 0.03 225.9)

  • #301D1E

    #301D1E

    oklch(25.6% 0.03 15.9)

  • #2B2112

    #2B2112

    oklch(25.5% 0.03 76.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12262E

    #12262E

    oklch(25.6% 0.03 225.9)

  • #2E1D26

    #2E1D26

    oklch(25.6% 0.031 346.5)

  • #252413

    #252413

    oklch(25.6% 0.029 105.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12262E

    #12262E

    oklch(25.6% 0.03 225.9)

  • #291F2D

    #291F2D

    oklch(25.7% 0.029 316.2)

  • #2F1E17

    #2F1E17

    oklch(25.4% 0.03 43.3)

  • #1C2618

    #1C2618

    oklch(25.4% 0.029 136.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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