#1F396B

Closest named color: Marine Blue (#01386A). oklch(35.2% 0.093 262.1), rgb(31, 57, 107).

Aa

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

About this color

#1F396B is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.093 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.023 away. White text reads best on it, at 11.31:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.85:1
White text11.31:1

Values

HEX#1F396B
RGBrgb(31, 57, 107)
HSLhsl(219, 55%, 27%)
OKLCHoklch(35.2% 0.093 262.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 #1F396B 11.31:1 AAA Lc -99.6 Preferred for body text
Black text on #1F396B 1.85:1 Fails Lc 8.0 Not readable
#1F396B text on white 11.31:1 AAA Lc 95.9 Preferred for body text
#1F396B text on black 1.85: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A8C1EE

    oklch(80.8% 0.07 262.1)

  5. Step 400

    400

    #7AA0E6

    oklch(70.6% 0.111 262.1)

  6. Step 500

    500

    #5887DF

    oklch(63.1% 0.143 261.9)

  7. Step 600

    600

    #3E6FCD

    oklch(55.7% 0.155 262)

  8. Step 700

    700

    #305CB1

    oklch(49.1% 0.144 262)

  9. Step 800

    800

    #294C8F

    oklch(42.8% 0.118 261.9)

  10. Step 900

    900 (this color)

    #1F396B

    oklch(35.2% 0.093 262.1)

  11. Step 950

    950

    #162643

    oklch(27.1% 0.058 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F396B 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)#213E6D0.016
Deuteranopia (no green cones)#13376A0.014
Tritanopia (no blue cones)#00454C0.077
Achromatopsia (no color)#3A3A3A0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F396B

    #1F396B

    oklch(35.2% 0.093 262.1)

  • #4E3700

    #4E3700

    oklch(35.4% 0.073 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F396B

    #1F396B

    oklch(35.2% 0.093 262.1)

  • #00415A

    #00415A

    oklch(35.2% 0.072 232)

  • #3D3067

    #3D3067

    oklch(35.3% 0.093 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F396B

    #1F396B

    oklch(35.2% 0.093 262.1)

  • #5F2A00

    #5F2A00

    oklch(35.3% 0.091 51.4)

  • #3C3F00

    #3C3F00

    oklch(35.3% 0.079 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F396B

    #1F396B

    oklch(35.2% 0.093 262.1)

  • #632324

    #632324

    oklch(35.3% 0.093 22.2)

  • #194715

    #194715

    oklch(35.4% 0.094 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F396B

    #1F396B

    oklch(35.2% 0.093 262.1)

  • #5E2340

    #5E2340

    oklch(35.3% 0.093 352.3)

  • #4E3700

    #4E3700

    oklch(35.4% 0.073 82.4)

  • #004637

    #004637

    oklch(35.1% 0.068 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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