#1F314F

Closest named color: Prussian Blue (#1D3557). oklch(31.3% 0.059 260.2), rgb(31, 49, 79).

Aa

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

About this color

#1F314F is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.059 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.017 away. White text reads best on it, at 13.03:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.059)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.61:1
White text13.03:1

Values

HEX#1F314F
RGBrgb(31, 49, 79)
HSLhsl(218, 44%, 22%)
OKLCHoklch(31.3% 0.059 260.2)

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 #1F314F 13.03:1 AAA Lc -102.5 Preferred for body text
Black text on #1F314F 1.61:1 Fails Lc 0.0 Not readable
#1F314F text on white 13.03:1 AAA Lc 99.2 Preferred for body text
#1F314F text on black 1.61: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF4

    oklch(88.5% 0.039 261.5)

  4. Step 300

    300

    #A7C2EF

    oklch(81% 0.07 260.6)

  5. Step 400

    400

    #77A1E6

    oklch(70.7% 0.112 260)

  6. Step 500

    500

    #5488DF

    oklch(63.1% 0.143 260.1)

  7. Step 600

    600

    #3970CD

    oklch(55.7% 0.156 260.2)

  8. Step 700

    700

    #2B5DB1

    oklch(49.1% 0.144 260.2)

  9. Step 800

    800

    #254C8F

    oklch(42.6% 0.12 260.4)

  10. Step 900

    900

    #224072

    oklch(37.6% 0.093 260)

  11. Step 950

    950 (this color)

    #1F314F

    oklch(31.3% 0.059 260.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F314F 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)#2533500.011
Deuteranopia (no green cones)#1F2F4E0.006
Tritanopia (no blue cones)#03383C0.053
Achromatopsia (no color)#3131310.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F314F

    #1F314F

    oklch(31.3% 0.059 260.2)

  • #412D06

    #412D06

    oklch(31.3% 0.06 79.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F314F

    #1F314F

    oklch(31.3% 0.059 260.2)

  • #053649

    #053649

    oklch(31.3% 0.059 230.2)

  • #312B4D

    #312B4D

    oklch(31.3% 0.06 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F314F

    #1F314F

    oklch(31.3% 0.059 260.2)

  • #492713

    #492713

    oklch(31.3% 0.06 49.7)

  • #33340A

    #33340A

    oklch(31.5% 0.06 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F314F

    #1F314F

    oklch(31.3% 0.059 260.2)

  • #4B2424

    #4B2424

    oklch(31.4% 0.059 21)

  • #20381B

    #20381B

    oklch(31.2% 0.058 140.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F314F

    #1F314F

    oklch(31.3% 0.059 260.2)

  • #472435

    #472435

    oklch(31.3% 0.058 350.5)

  • #412D06

    #412D06

    oklch(31.3% 0.06 79.4)

  • #043B2D

    #043B2D

    oklch(31.5% 0.06 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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