#262F3D

Closest named color: Gunmetal (#293241). oklch(30.3% 0.028 259.1), rgb(38, 47, 61).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameGunmetal (#293241)
Black text1.55:1
White text13.49:1

Values

HEX#262F3D
RGBrgb(38, 47, 61)
HSLhsl(217, 23%, 19%)
OKLCHoklch(30.3% 0.028 259.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 #262F3D 13.49:1 AAA Lc -103.1 Preferred for body text
Black text on #262F3D 1.55:1 Fails Lc 0.0 Not readable
#262F3D text on white 13.49:1 AAA Lc 100.0 Preferred for body text
#262F3D text on black 1.55: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

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D2DAE6

    oklch(88.6% 0.019 258.4)

  4. Step 300

    300

    #B4C2D7

    oklch(81% 0.033 258.4)

  5. Step 400

    400

    #8DA2C3

    oklch(70.8% 0.054 259.4)

  6. Step 500

    500

    #708BB3

    oklch(63.1% 0.068 258.1)

  7. Step 600

    600

    #59749F

    oklch(55.6% 0.074 259.5)

  8. Step 700

    700

    #496188

    oklch(49% 0.069 259.9)

  9. Step 800

    800

    #3C506F

    oklch(42.8% 0.058 259)

  10. Step 900

    900

    #33425A

    oklch(37.7% 0.046 259.6)

  11. Step 950

    950 (this color)

    #262F3D

    oklch(30.3% 0.028 259.1)

Export this scale for Tailwind in the Tailwind colors tool

#262F3D 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)#2A303E0.008
Deuteranopia (no green cones)#282D3D0.007
Tritanopia (no blue cones)#1F32340.025
Achromatopsia (no color)#2E2E2E0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #262F3D

    #262F3D

    oklch(30.3% 0.028 259.1)

  • #362D1E

    #362D1E

    oklch(30.3% 0.028 80.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #262F3D

    #262F3D

    oklch(30.3% 0.028 259.1)

  • #1F313A

    #1F313A

    oklch(30.2% 0.029 230.6)

  • #2E2C3C

    #2E2C3C

    oklch(30.2% 0.029 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #262F3D

    #262F3D

    oklch(30.3% 0.028 259.1)

  • #3B2A22

    #3B2A22

    oklch(30.3% 0.029 46.3)

  • #2F301F

    #2F301F

    oklch(30.3% 0.029 110.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #262F3D

    #262F3D

    oklch(30.3% 0.028 259.1)

  • #3C2929

    #3C2929

    oklch(30.4% 0.029 18.9)

  • #273224

    #273224

    oklch(30.2% 0.029 139)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #262F3D

    #262F3D

    oklch(30.3% 0.028 259.1)

  • #3A2931

    #3A2931

    oklch(30.4% 0.028 349.1)

  • #362D1E

    #362D1E

    oklch(30.3% 0.028 80.1)

  • #20332C

    #20332C

    oklch(30.2% 0.028 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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