#2D304C

Closest named color: Space Cadet (#2B2D42). oklch(32% 0.05 278.5), rgb(45, 48, 76).

Aa

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

About this color

#2D304C is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.050 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.019 away. White text reads best on it, at 12.81:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.050)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.63:1
White text12.81:1

Values

HEX#2D304C
RGBrgb(45, 48, 76)
HSLhsl(234, 26%, 24%)
OKLCHoklch(32% 0.05 278.5)

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 #2D304C 12.81:1 AAA Lc -102.2 Preferred for body text
Black text on #2D304C 1.63:1 Fails Lc 0.0 Not readable
#2D304C text on white 12.81:1 AAA Lc 98.9 Preferred for body text
#2D304C text on black 1.63: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D4D7EF

    oklch(88.4% 0.033 280)

  4. Step 300

    300

    #B7BDE7

    oklch(80.8% 0.06 278.6)

  5. Step 400

    400

    #939BDB

    oklch(70.8% 0.094 278.2)

  6. Step 500

    500

    #7A81D1

    oklch(63.2% 0.12 278.6)

  7. Step 600

    600

    #6369BE

    oklch(55.6% 0.13 278.2)

  8. Step 700

    700

    #5257A4

    oklch(49.1% 0.122 278.1)

  9. Step 800

    800

    #434785

    oklch(42.6% 0.102 278.4)

  10. Step 900

    900

    #393C6B

    oklch(37.7% 0.08 279.1)

  11. Step 950

    950 (this color)

    #2D304C

    oklch(32% 0.05 278.5)

Export this scale for Tailwind in the Tailwind colors tool

#2D304C 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)#27334D0.012
Deuteranopia (no green cones)#25314B0.013
Tritanopia (no blue cones)#24353A0.044
Achromatopsia (no color)#3232320.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D304C

    #2D304C

    oklch(32% 0.05 278.5)

  • #393312

    #393312

    oklch(31.9% 0.05 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D304C

    #2D304C

    oklch(32% 0.05 278.5)

  • #1D354B

    #1D354B

    oklch(32% 0.05 247.6)

  • #3A2C46

    #3A2C46

    oklch(32.1% 0.049 308.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D304C

    #2D304C

    oklch(32% 0.05 278.5)

  • #432E14

    #432E14

    oklch(32% 0.05 70.2)

  • #2B381B

    #2B381B

    oklch(32.1% 0.051 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D304C

    #2D304C

    oklch(32% 0.05 278.5)

  • #492920

    #492920

    oklch(32% 0.051 36.5)

  • #1A3B29

    #1A3B29

    oklch(32.1% 0.051 157.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D304C

    #2D304C

    oklch(32% 0.05 278.5)

  • #49282E

    #49282E

    oklch(32.2% 0.05 8.5)

  • #393312

    #393312

    oklch(31.9% 0.05 99.1)

  • #0A3B38

    #0A3B38

    oklch(32% 0.05 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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