#2D315C

Closest named color: Prussian Blue (#1D3557). oklch(33.2% 0.075 277.5), rgb(45, 49, 92).

Aa

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

About this color

#2D315C is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.075 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 12.31:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.70:1
White text12.31:1

Values

HEX#2D315C
RGBrgb(45, 49, 92)
HSLhsl(235, 34%, 27%)
OKLCHoklch(33.2% 0.075 277.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 #2D315C 12.31:1 AAA Lc -101.4 Preferred for body text
Black text on #2D315C 1.70:1 Fails Lc 0.0 Not readable
#2D315C text on white 12.31:1 AAA Lc 98.0 Preferred for body text
#2D315C text on black 1.70: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D8EE

    oklch(88.6% 0.03 277.6)

  4. Step 300

    300

    #B7BEE6

    oklch(80.9% 0.057 277.3)

  5. Step 400

    400

    #929BD9

    oklch(70.6% 0.091 277.4)

  6. Step 500

    500

    #7982CE

    oklch(63.2% 0.114 277.5)

  7. Step 600

    600

    #626ABB

    oklch(55.6% 0.125 277.3)

  8. Step 700

    700

    #5258A2

    oklch(49.2% 0.117 277.7)

  9. Step 800

    800

    #434883

    oklch(42.7% 0.097 277.8)

  10. Step 900

    900 (this color)

    #2D315C

    oklch(33.2% 0.075 277.5)

  11. Step 950

    950

    #21243D

    oklch(27% 0.047 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#2D315C 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)#20375E0.023
Deuteranopia (no green cones)#1C335B0.024
Tritanopia (no blue cones)#1C3A420.066
Achromatopsia (no color)#3535350.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D315C

    #2D315C

    oklch(33.2% 0.075 277.5)

  • #403600

    #403600

    oklch(33.4% 0.069 97.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D315C

    #2D315C

    oklch(33.2% 0.075 277.5)

  • #0E385A

    #0E385A

    oklch(33.1% 0.075 247.4)

  • #402A54

    #402A54

    oklch(33.2% 0.076 306.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D315C

    #2D315C

    oklch(33.2% 0.075 277.5)

  • #4E2D00

    #4E2D00

    oklch(33.1% 0.073 67.3)

  • #2B3D0C

    #2B3D0C

    oklch(33.3% 0.075 127.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D315C

    #2D315C

    oklch(33.2% 0.075 277.5)

  • #562618

    #562618

    oklch(33.3% 0.075 37.1)

  • #054126

    #054126

    oklch(33.2% 0.075 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D315C

    #2D315C

    oklch(33.2% 0.075 277.5)

  • #55232F

    #55232F

    oklch(33.2% 0.075 7.1)

  • #403600

    #403600

    oklch(33.4% 0.069 97.7)

  • #003F3B

    #003F3B

    oklch(33.1% 0.058 187.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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