#25315F

Closest named color: Prussian Blue (#1D3557). oklch(32.8% 0.083 270.3), rgb(37, 49, 95).

Aa

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

About this color

#25315F is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.083 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.023 away. White text reads best on it, at 12.47:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.68:1
White text12.47:1

Values

HEX#25315F
RGBrgb(37, 49, 95)
HSLhsl(228, 44%, 26%)
OKLCHoklch(32.8% 0.083 270.3)

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 #25315F 12.47:1 AAA Lc -101.6 Preferred for body text
Black text on #25315F 1.68:1 Fails Lc 0.0 Not readable
#25315F text on white 12.47:1 AAA Lc 98.2 Preferred for body text
#25315F text on black 1.68: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D9F1

    oklch(88.6% 0.034 269.3)

  4. Step 300

    300

    #B1BFEA

    oklch(80.8% 0.063 270.8)

  5. Step 400

    400

    #899DDF

    oklch(70.6% 0.1 270.8)

  6. Step 500

    500

    #6C84D6

    oklch(63.1% 0.127 270.1)

  7. Step 600

    600

    #556CC3

    oklch(55.6% 0.137 270.3)

  8. Step 700

    700

    #455AA9

    oklch(49.2% 0.128 270)

  9. Step 800

    800

    #394A89

    oklch(42.8% 0.106 270.1)

  10. Step 900

    900 (this color)

    #25315F

    oklch(32.8% 0.083 270.3)

  11. Step 950

    950

    #1D2540

    oklch(27.1% 0.052 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#25315F 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)#1C37610.019
Deuteranopia (no green cones)#14315E0.020
Tritanopia (no blue cones)#013B430.074
Achromatopsia (no color)#3434340.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #25315F

    #25315F

    oklch(32.8% 0.083 270.3)

  • #423300

    #423300

    oklch(32.8% 0.067 90.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25315F

    #25315F

    oklch(32.8% 0.083 270.3)

  • #003958

    #003958

    oklch(32.9% 0.076 240.6)

  • #3C2958

    #3C2958

    oklch(32.7% 0.083 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #25315F

    #25315F

    oklch(32.8% 0.083 270.3)

  • #512A00

    #512A00

    oklch(33% 0.077 60.4)

  • #303A00

    #303A00

    oklch(32.8% 0.078 119.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25315F

    #25315F

    oklch(32.8% 0.083 270.3)

  • #58211A

    #58211A

    oklch(32.8% 0.083 29.6)

  • #09401D

    #09401D

    oklch(32.8% 0.082 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25315F

    #25315F

    oklch(32.8% 0.083 270.3)

  • #552033

    #552033

    oklch(32.8% 0.082 0.2)

  • #423300

    #423300

    oklch(32.8% 0.067 90.6)

  • #003F36

    #003F36

    oklch(32.9% 0.06 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #25315F 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.