#2C2E5F

Closest named color: Prussian Blue (#1D3557). oklch(32.7% 0.085 278.8), rgb(44, 46, 95).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.62:1

Values

HEX#2C2E5F
RGBrgb(44, 46, 95)
HSLhsl(238, 37%, 27%)
OKLCHoklch(32.7% 0.085 278.8)

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 #2C2E5F 12.62:1 AAA Lc -101.9 Preferred for body text
Black text on #2C2E5F 1.66:1 Fails Lc 0.0 Not readable
#2C2E5F text on white 12.62:1 AAA Lc 98.5 Preferred for body text
#2C2E5F text on black 1.66: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

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D3D7F1

    oklch(88.4% 0.036 278.7)

  4. Step 300

    300

    #B7BDEA

    oklch(80.9% 0.064 278.9)

  5. Step 400

    400

    #929AE0

    oklch(70.7% 0.103 278.4)

  6. Step 500

    500

    #797FD7

    oklch(63% 0.131 279)

  7. Step 600

    600

    #6367C4

    oklch(55.6% 0.142 278.9)

  8. Step 700

    700

    #5255A9

    oklch(49% 0.132 278.8)

  9. Step 800

    800

    #434689

    oklch(42.7% 0.109 278.8)

  10. Step 900

    900 (this color)

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  11. Step 950

    950

    #212340

    oklch(27% 0.054 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#2C2E5F 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)#1835610.030
Deuteranopia (no green cones)#13315E0.032
Tritanopia (no blue cones)#1839420.074
Achromatopsia (no color)#3333330.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C2E5F

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  • #3D3500

    #3D3500

    oklch(32.7% 0.068 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C2E5F

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  • #05365E

    #05365E

    oklch(32.6% 0.086 249.3)

  • #412655

    #412655

    oklch(32.6% 0.085 308.9)

Open the analogous palette in the generator

Split complementary

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

  • #2C2E5F

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  • #4C2D00

    #4C2D00

    oklch(32.8% 0.071 69.3)

  • #273C01

    #273C01

    oklch(32.6% 0.085 128.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C2E5F

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  • #58220F

    #58220F

    oklch(32.8% 0.085 39.1)

  • #004026

    #004026

    oklch(32.7% 0.075 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C2E5F

    #2C2E5F

    oklch(32.7% 0.085 278.8)

  • #571E2B

    #571E2B

    oklch(32.6% 0.085 9.1)

  • #3D3500

    #3D3500

    oklch(32.7% 0.068 100)

  • #003E3A

    #003E3A

    oklch(32.8% 0.057 187.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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