#31346A

Closest named color: Prussian Blue (#1D3557). oklch(35.2% 0.092 278.1), rgb(49, 52, 106).

Aa

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

About this color

#31346A is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.092 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.045 away. White text reads best on it, at 11.47:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.82:1
White text11.47:1

Values

HEX#31346A
RGBrgb(49, 52, 106)
HSLhsl(237, 37%, 30%)
OKLCHoklch(35.2% 0.092 278.1)

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 #31346A 11.47:1 AAA Lc -100.0 Preferred for body text
Black text on #31346A 1.82:1 Fails Lc 7.6 Not readable
#31346A text on white 11.47:1 AAA Lc 96.3 Preferred for body text
#31346A text on black 1.82: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D3D7F3

    oklch(88.5% 0.039 279.1)

  4. Step 300

    300

    #B6BDEE

    oklch(81% 0.07 278.4)

  5. Step 400

    400

    #9199E5

    oklch(70.7% 0.111 278.5)

  6. Step 500

    500

    #777EDD

    oklch(63% 0.142 278.3)

  7. Step 600

    600

    #6166CB

    oklch(55.7% 0.153 278)

  8. Step 700

    700

    #5054AF

    oklch(49.1% 0.142 277.9)

  9. Step 800

    800

    #42458E

    oklch(42.7% 0.118 278.4)

  10. Step 900

    900 (this color)

    #31346A

    oklch(35.2% 0.092 278.1)

  11. Step 950

    950

    #202342

    oklch(27% 0.057 277.6)

Export this scale for Tailwind in the Tailwind colors tool

#31346A 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)#1C3C6C0.032
Deuteranopia (no green cones)#1637690.033
Tritanopia (no blue cones)#1A404A0.080
Achromatopsia (no color)#3939390.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #31346A

    #31346A

    oklch(35.2% 0.092 278.1)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31346A

    #31346A

    oklch(35.2% 0.092 278.1)

  • #033D68

    #033D68

    oklch(35.1% 0.092 248)

  • #492C60

    #492C60

    oklch(35.4% 0.092 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #31346A

    #31346A

    oklch(35.2% 0.092 278.1)

  • #553200

    #553200

    oklch(35.2% 0.077 68.1)

  • #2D4300

    #2D4300

    oklch(35.1% 0.091 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31346A

    #31346A

    oklch(35.2% 0.092 278.1)

  • #622612

    #622612

    oklch(35.3% 0.093 38.4)

  • #00482A

    #00482A

    oklch(35.4% 0.083 157.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31346A

    #31346A

    oklch(35.2% 0.092 278.1)

  • #612232

    #612232

    oklch(35.1% 0.092 7.5)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

  • #004541

    #004541

    oklch(35.2% 0.061 188.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31346A 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.