#282F3F

Closest named color: Gunmetal (#293241). oklch(30.6% 0.031 266.2), rgb(40, 47, 63).

Aa

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

About this color

#282F3F is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.031 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.010 away. White text reads best on it, at 13.38:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.031)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.56:1
White text13.38:1

Values

HEX#282F3F
RGBrgb(40, 47, 63)
HSLhsl(222, 22%, 20%)
OKLCHoklch(30.6% 0.031 266.2)

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 #282F3F 13.38:1 AAA Lc -103.0 Preferred for body text
Black text on #282F3F 1.56:1 Fails Lc 0.0 Not readable
#282F3F text on white 13.38:1 AAA Lc 99.8 Preferred for body text
#282F3F text on black 1.56: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B6C1D9

    oklch(81% 0.036 265.9)

  5. Step 400

    400

    #90A0C6

    oklch(70.7% 0.059 267)

  6. Step 500

    500

    #7589B7

    oklch(63.2% 0.073 266.2)

  7. Step 600

    600

    #5D72A3

    oklch(55.6% 0.081 266.1)

  8. Step 700

    700

    #4D5F8C

    oklch(49% 0.076 267)

  9. Step 800

    800

    #3F4E71

    oklch(42.7% 0.062 266.1)

  10. Step 900

    900

    #36415C

    oklch(37.8% 0.049 267)

  11. Step 950

    950 (this color)

    #282F3F

    oklch(30.6% 0.031 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#282F3F 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)#2A30400.005
Deuteranopia (no green cones)#282E3F0.003
Tritanopia (no blue cones)#2132340.028
Achromatopsia (no color)#2F2F2F0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #282F3F

    #282F3F

    oklch(30.6% 0.031 266.2)

  • #362E1D

    #362E1D

    oklch(30.5% 0.031 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282F3F

    #282F3F

    oklch(30.6% 0.031 266.2)

  • #20323D

    #20323D

    oklch(30.7% 0.031 236)

  • #302C3D

    #302C3D

    oklch(30.5% 0.031 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #282F3F

    #282F3F

    oklch(30.6% 0.031 266.2)

  • #3B2B20

    #3B2B20

    oklch(30.4% 0.03 55.8)

  • #2E311F

    #2E311F

    oklch(30.5% 0.031 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282F3F

    #282F3F

    oklch(30.6% 0.031 266.2)

  • #3D2927

    #3D2927

    oklch(30.4% 0.03 25.4)

  • #253426

    #253426

    oklch(30.7% 0.032 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282F3F

    #282F3F

    oklch(30.6% 0.031 266.2)

  • #3C2930

    #3C2930

    oklch(30.6% 0.03 355.2)

  • #362E1D

    #362E1D

    oklch(30.5% 0.031 85.5)

  • #1E342F

    #1E342F

    oklch(30.5% 0.03 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282F3F 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.