#262F36

Closest named color: Gunmetal (#293241). oklch(30% 0.018 241.6), rgb(38, 47, 54).

Aa

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

About this color

#262F36 is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Gunmetal (#293241), ΔE 0.021 away. White text reads best on it, at 13.61:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.54:1
White text13.61:1

Values

HEX#262F36
RGBrgb(38, 47, 54)
HSLhsl(206, 17%, 18%)
OKLCHoklch(30% 0.018 241.6)

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 #262F36 13.61:1 AAA Lc -103.2 Preferred for body text
Black text on #262F36 1.54:1 Fails Lc 0.0 Not readable
#262F36 text on white 13.61:1 AAA Lc 100.1 Preferred for body text
#262F36 text on black 1.54: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

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D3DAE0

    oklch(88.5% 0.011 243.7)

  4. Step 300

    300

    #B5C3CD

    oklch(80.9% 0.021 238.7)

  5. Step 400

    400

    #8FA4B4

    oklch(70.8% 0.033 240.9)

  6. Step 500

    500

    #738DA2

    oklch(63.1% 0.043 242.8)

  7. Step 600

    600

    #5B778D

    oklch(55.6% 0.047 242.3)

  8. Step 700

    700

    #4B6478

    oklch(49.1% 0.044 242.9)

  9. Step 800

    800

    #3D5261

    oklch(42.7% 0.036 239.7)

  10. Step 900

    900

    #34444F

    oklch(37.7% 0.028 238.5)

  11. Step 950

    950 (this color)

    #262F36

    oklch(30% 0.018 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#262F36 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)#2C2F360.010
Deuteranopia (no green cones)#2A2D360.009
Tritanopia (no blue cones)#2131310.015
Achromatopsia (no color)#2E2E2E0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #262F36

    #262F36

    oklch(30% 0.018 241.6)

  • #342C25

    #342C25

    oklch(30% 0.017 63.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262F36

    #262F36

    oklch(30% 0.018 241.6)

  • #243033

    #243033

    oklch(29.9% 0.017 214.7)

  • #2A2D37

    #2A2D37

    oklch(29.8% 0.019 272.1)

Open the analogous palette in the generator

Split complementary

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

  • #262F36

    #262F36

    oklch(30% 0.018 241.6)

  • #362B28

    #362B28

    oklch(30% 0.017 35.7)

  • #312E24

    #312E24

    oklch(30.1% 0.018 93.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262F36

    #262F36

    oklch(30% 0.018 241.6)

  • #362A2D

    #362A2D

    oklch(30% 0.018 1.6)

  • #2C2F25

    #2C2F25

    oklch(29.9% 0.018 121.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262F36

    #262F36

    oklch(30% 0.018 241.6)

  • #332B32

    #332B32

    oklch(30.1% 0.017 330.1)

  • #342C25

    #342C25

    oklch(30% 0.017 63.3)

  • #273029

    #273029

    oklch(29.8% 0.018 151.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #262F36 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.