#2D336B

Closest named color: Marine Blue (#01386A). oklch(34.8% 0.096 275.6), rgb(45, 51, 107).

Aa

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

About this color

#2D336B is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.096 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.041 away. White text reads best on it, at 11.68:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.79:1
White text11.68:1

Values

HEX#2D336B
RGBrgb(45, 51, 107)
HSLhsl(234, 41%, 30%)
OKLCHoklch(34.8% 0.096 275.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 #2D336B 11.68:1 AAA Lc -100.3 Preferred for body text
Black text on #2D336B 1.79:1 Fails Lc 0.0 Not readable
#2D336B text on white 11.68:1 AAA Lc 96.7 Preferred for body text
#2D336B text on black 1.79: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 900.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D1D8F4

    oklch(88.6% 0.039 274.4)

  4. Step 300

    300

    #B3BDF0

    oklch(80.8% 0.073 276)

  5. Step 400

    400

    #8C9AE8

    oklch(70.7% 0.115 275.3)

  6. Step 500

    500

    #727FE1

    oklch(63.1% 0.147 275.7)

  7. Step 600

    600

    #5B66CF

    oklch(55.6% 0.16 275.4)

  8. Step 700

    700

    #4C54B3

    oklch(49.1% 0.149 275.8)

  9. Step 800

    800

    #3E4591

    oklch(42.6% 0.124 275.9)

  10. Step 900

    900 (this color)

    #2D336B

    oklch(34.8% 0.096 275.6)

  11. Step 950

    950

    #1E2344

    oklch(27% 0.061 275)

Export this scale for Tailwind in the Tailwind colors tool

#2D336B 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)#173B6D0.031
Deuteranopia (no green cones)#0F366A0.033
Tritanopia (no blue cones)#0D3F4A0.084
Achromatopsia (no color)#3838380.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D336B

    #2D336B

    oklch(34.8% 0.096 275.6)

  • #453900

    #453900

    oklch(34.7% 0.071 95.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D336B

    #2D336B

    oklch(34.8% 0.096 275.6)

  • #003D65

    #003D65

    oklch(34.9% 0.089 245.6)

  • #462A61

    #462A61

    oklch(34.7% 0.096 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D336B

    #2D336B

    oklch(34.8% 0.096 275.6)

  • #553000

    #553000

    oklch(34.8% 0.078 65.3)

  • #2F4100

    #2F4100

    oklch(34.7% 0.088 125.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D336B

    #2D336B

    oklch(34.8% 0.096 275.6)

  • #622312

    #622312

    oklch(34.8% 0.096 35.9)

  • #004626

    #004626

    oklch(34.7% 0.084 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D336B

    #2D336B

    oklch(34.8% 0.096 275.6)

  • #611F33

    #611F33

    oklch(34.8% 0.097 5)

  • #453900

    #453900

    oklch(34.7% 0.071 95.8)

  • #00443E

    #00443E

    oklch(34.8% 0.061 185)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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