#1F3362

Closest named color: Prussian Blue (#1D3557). oklch(33.1% 0.087 264.7), rgb(31, 51, 98).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.70:1
White text12.29:1

Values

HEX#1F3362
RGBrgb(31, 51, 98)
HSLhsl(222, 52%, 25%)
OKLCHoklch(33.1% 0.087 264.7)

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 #1F3362 12.29:1 AAA Lc -101.3 Preferred for body text
Black text on #1F3362 1.70:1 Fails Lc 0.0 Not readable
#1F3362 text on white 12.29:1 AAA Lc 97.8 Preferred for body text
#1F3362 text on black 1.70: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CDD9F2

    oklch(88.4% 0.037 265.1)

  4. Step 300

    300

    #ACC1EC

    oklch(81% 0.065 264.5)

  5. Step 400

    400

    #809FE2

    oklch(70.6% 0.105 264.8)

  6. Step 500

    500

    #6186DA

    oklch(63.1% 0.134 264.9)

  7. Step 600

    600

    #486EC7

    oklch(55.5% 0.145 264.7)

  8. Step 700

    700

    #3A5CAC

    oklch(49.2% 0.134 264.6)

  9. Step 800

    800

    #304B8B

    oklch(42.6% 0.111 264.9)

  10. Step 900

    900 (this color)

    #1F3362

    oklch(33.1% 0.087 264.7)

  11. Step 950

    950

    #192541

    oklch(26.9% 0.055 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F3362 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)#1C38640.015
Deuteranopia (no green cones)#1132610.015
Tritanopia (no blue cones)#003E450.074
Achromatopsia (no color)#3535350.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3362

    #1F3362

    oklch(33.1% 0.087 264.7)

  • #463200

    #463200

    oklch(33.1% 0.068 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3362

    #1F3362

    oklch(33.1% 0.087 264.7)

  • #003B54

    #003B54

    oklch(33.2% 0.07 234.1)

  • #392B5D

    #392B5D

    oklch(33.2% 0.086 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F3362

    #1F3362

    oklch(33.1% 0.087 264.7)

  • #552800

    #552800

    oklch(33.2% 0.082 55)

  • #353A00

    #353A00

    oklch(33.2% 0.075 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3362

    #1F3362

    oklch(33.1% 0.087 264.7)

  • #5A201E

    #5A201E

    oklch(33.1% 0.086 24.9)

  • #124116

    #124116

    oklch(33.2% 0.087 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3362

    #1F3362

    oklch(33.1% 0.087 264.7)

  • #561F38

    #561F38

    oklch(33% 0.087 354.6)

  • #463200

    #463200

    oklch(33.1% 0.068 84.1)

  • #004034

    #004034

    oklch(33.2% 0.062 175.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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