#2B2F40

Closest named color: Space Cadet (#2B2D42). oklch(30.9% 0.031 274.2), rgb(43, 47, 64).

Aa

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

About this color

#2B2F40 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.031 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.009 away. White text reads best on it, at 13.26:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.031)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.58:1
White text13.26:1

Values

HEX#2B2F40
RGBrgb(43, 47, 64)
HSLhsl(229, 20%, 21%)
OKLCHoklch(30.9% 0.031 274.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 #2B2F40 13.26:1 AAA Lc -102.8 Preferred for body text
Black text on #2B2F40 1.58:1 Fails Lc 0.0 Not readable
#2B2F40 text on white 13.26:1 AAA Lc 99.6 Preferred for body text
#2B2F40 text on black 1.58: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

    #E7E9F1

    oklch(93.5% 0.011 274.9)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #B9BFD9

    oklch(80.8% 0.037 275.2)

  5. Step 400

    400

    #959EC6

    oklch(70.6% 0.059 274.9)

  6. Step 500

    500

    #7B86B8

    oklch(63% 0.077 274.4)

  7. Step 600

    600

    #6470A3

    oklch(55.6% 0.081 273.4)

  8. Step 700

    700

    #535D8C

    oklch(49% 0.076 274.1)

  9. Step 800

    800

    #444C72

    oklch(42.6% 0.064 274.3)

  10. Step 900

    900

    #39405C

    oklch(37.8% 0.049 273.1)

  11. Step 950

    950 (this color)

    #2B2F40

    oklch(30.9% 0.031 274.2)

Export this scale for Tailwind in the Tailwind colors tool

#2B2F40 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)#2A31410.006
Deuteranopia (no green cones)#282F400.005
Tritanopia (no blue cones)#2632350.027
Achromatopsia (no color)#3030300.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B2F40

    #2B2F40

    oklch(30.9% 0.031 274.2)

  • #35301E

    #35301E

    oklch(30.9% 0.031 94.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B2F40

    #2B2F40

    oklch(30.9% 0.031 274.2)

  • #22323F

    #22323F

    oklch(30.9% 0.032 243.5)

  • #332C3D

    #332C3D

    oklch(30.8% 0.031 303.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B2F40

    #2B2F40

    oklch(30.9% 0.031 274.2)

  • #3B2D1F

    #3B2D1F

    oklch(30.9% 0.031 66.2)

  • #2D3321

    #2D3321

    oklch(31% 0.032 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B2F40

    #2B2F40

    oklch(30.9% 0.031 274.2)

  • #3E2A26

    #3E2A26

    oklch(30.8% 0.031 31.6)

  • #243529

    #243529

    oklch(31% 0.031 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B2F40

    #2B2F40

    oklch(30.9% 0.031 274.2)

  • #3E292E

    #3E292E

    oklch(30.8% 0.032 3.5)

  • #35301E

    #35301E

    oklch(30.9% 0.031 94.4)

  • #1D3532

    #1D3532

    oklch(30.8% 0.031 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2B2F40 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.