#1F305D

Closest named color: Prussian Blue (#1D3557). oklch(32.1% 0.083 266.3), rgb(31, 48, 93).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.81:1

Values

HEX#1F305D
RGBrgb(31, 48, 93)
HSLhsl(224, 50%, 24%)
OKLCHoklch(32.1% 0.083 266.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 #1F305D 12.81:1 AAA Lc -102.1 Preferred for body text
Black text on #1F305D 1.63:1 Fails Lc 0.0 Not readable
#1F305D text on white 12.81:1 AAA Lc 98.8 Preferred for body text
#1F305D text on black 1.63: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 950.

  1. Step 50

    50

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E1EAFE

    oklch(93.6% 0.029 266.4)

  3. Step 200

    200

    #C8D9FE

    oklch(88.5% 0.054 265.8)

  4. Step 300

    300

    #A4BFFF

    oklch(80.8% 0.096 266.6)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #517FFF

    oklch(63.2% 0.197 266)

  7. Step 600

    600

    #3763F1

    oklch(55.7% 0.219 266.1)

  8. Step 700

    700

    #2B50D2

    oklch(49.1% 0.204 266.3)

  9. Step 800

    800

    #2443A9

    oklch(42.7% 0.168 266.3)

  10. Step 900

    900

    #213A86

    oklch(37.7% 0.131 266.3)

  11. Step 950

    950 (this color)

    #1F305D

    oklch(32.1% 0.083 266.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F305D 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)#1B355F0.015
Deuteranopia (no green cones)#112F5C0.016
Tritanopia (no blue cones)#003A420.070
Achromatopsia (no color)#3232320.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F305D

    #1F305D

    oklch(32.1% 0.083 266.3)

  • #423000

    #423000

    oklch(32.1% 0.066 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F305D

    #1F305D

    oklch(32.1% 0.083 266.3)

  • #003851

    #003851

    oklch(32.2% 0.068 235.2)

  • #372858

    #372858

    oklch(32% 0.084 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F305D

    #1F305D

    oklch(32.1% 0.083 266.3)

  • #502600

    #502600

    oklch(32% 0.078 55.9)

  • #313700

    #313700

    oklch(32% 0.073 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F305D

    #1F305D

    oklch(32.1% 0.083 266.3)

  • #561E1B

    #561E1B

    oklch(32% 0.084 26)

  • #0E3E16

    #0E3E16

    oklch(32.1% 0.084 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F305D

    #1F305D

    oklch(32.1% 0.083 266.3)

  • #521E34

    #521E34

    oklch(32% 0.082 356.3)

  • #423000

    #423000

    oklch(32.1% 0.066 85.8)

  • #003D32

    #003D32

    oklch(32.2% 0.06 176)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F305D 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.