#2B3166

Closest named color: Prussian Blue (#1D3557). oklch(33.8% 0.092 275.5), rgb(43, 49, 102).

Aa

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

About this color

#2B3166 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.092 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.036 away. White text reads best on it, at 12.11:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.73:1
White text12.11:1

Values

HEX#2B3166
RGBrgb(43, 49, 102)
HSLhsl(234, 41%, 28%)
OKLCHoklch(33.8% 0.092 275.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 #2B3166 12.11:1 AAA Lc -101.0 Preferred for body text
Black text on #2B3166 1.73:1 Fails Lc 0.0 Not readable
#2B3166 text on white 12.11:1 AAA Lc 97.5 Preferred for body text
#2B3166 text on black 1.73: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

    #D1D8F3

    oklch(88.5% 0.038 274.1)

  4. Step 300

    300

    #B3BEEE

    oklch(80.9% 0.069 274.7)

  5. Step 400

    400

    #8D9AE5

    oklch(70.6% 0.111 275.7)

  6. Step 500

    500

    #7280DE

    oklch(63.1% 0.141 275.2)

  7. Step 600

    600

    #5C67CB

    oklch(55.6% 0.153 275.5)

  8. Step 700

    700

    #4C55B0

    oklch(49.1% 0.143 275.5)

  9. Step 800

    800

    #3E468E

    oklch(42.6% 0.118 275.5)

  10. Step 900

    900 (this color)

    #2B3166

    oklch(33.8% 0.092 275.5)

  11. Step 950

    950

    #1F2343

    oklch(27% 0.059 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#2B3166 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)#1738680.029
Deuteranopia (no green cones)#1034650.031
Tritanopia (no blue cones)#0E3D460.082
Achromatopsia (no color)#3636360.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B3166

    #2B3166

    oklch(33.8% 0.092 275.5)

  • #423700

    #423700

    oklch(33.8% 0.07 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B3166

    #2B3166

    oklch(33.8% 0.092 275.5)

  • #003A60

    #003A60

    oklch(33.7% 0.086 245.4)

  • #43285D

    #43285D

    oklch(33.7% 0.093 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #2B3166

    #2B3166

    oklch(33.8% 0.092 275.5)

  • #512E00

    #512E00

    oklch(33.8% 0.075 66)

  • #2D3F00

    #2D3F00

    oklch(33.9% 0.086 125.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B3166

    #2B3166

    oklch(33.8% 0.092 275.5)

  • #5E2212

    #5E2212

    oklch(33.9% 0.092 35.8)

  • #004324

    #004324

    oklch(33.7% 0.082 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B3166

    #2B3166

    oklch(33.8% 0.092 275.5)

  • #5C1E31

    #5C1E31

    oklch(33.7% 0.092 4.6)

  • #423700

    #423700

    oklch(33.8% 0.07 96.6)

  • #00413C

    #00413C

    oklch(33.8% 0.059 186.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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