#1F4E71

Closest named color: Deep Sea Blue (#015482). oklch(40.9% 0.078 244), rgb(31, 78, 113).

Aa

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

About this color

#1F4E71 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.078 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.031 away. White text reads best on it, at 8.79:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.38:1
White text8.79:1

Values

HEX#1F4E71
RGBrgb(31, 78, 113)
HSLhsl(206, 57%, 28%)
OKLCHoklch(40.9% 0.078 244)

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 #1F4E71 8.79:1 AAA Lc -94.4 Preferred for body text
Black text on #1F4E71 2.38:1 Fails Lc 14.1 Not readable
#1F4E71 text on white 8.79:1 AAA Lc 89.9 Fine for body text
#1F4E71 text on black 2.38:1 Fails Lc -12.4 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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CCDBE9

    oklch(88.4% 0.025 246.2)

  4. Step 300

    300

    #A8C5DC

    oklch(80.9% 0.045 242.1)

  5. Step 400

    400

    #79A6CB

    oklch(70.7% 0.073 243.9)

  6. Step 500

    500

    #558FBE

    oklch(63% 0.094 244.5)

  7. Step 600

    600

    #3879AA

    oklch(55.6% 0.101 243.9)

  8. Step 700

    700

    #2A6692

    oklch(49.2% 0.094 243.7)

  9. Step 800

    800 (this color)

    #1F4E71

    oklch(40.9% 0.078 244)

  10. Step 900

    900

    #23455F

    oklch(37.7% 0.06 243.4)

  11. Step 950

    950

    #152838

    oklch(26.9% 0.039 245.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E71 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)#3E4F730.035
Deuteranopia (no green cones)#3347700.027
Tritanopia (no blue cones)#00575A0.058
Achromatopsia (no color)#4A4A4A0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E71

    #1F4E71

    oklch(40.9% 0.078 244)

  • #674016

    #674016

    oklch(40.9% 0.078 64.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E71

    #1F4E71

    oklch(40.9% 0.078 244)

  • #005462

    #005462

    oklch(41% 0.072 213.9)

  • #3D4674

    #3D4674

    oklch(40.8% 0.078 274.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E71

    #1F4E71

    oklch(40.9% 0.078 244)

  • #6E392D

    #6E392D

    oklch(40.9% 0.078 33.8)

  • #58490C

    #58490C

    oklch(40.9% 0.078 94.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E71

    #1F4E71

    oklch(40.9% 0.078 244)

  • #6C3745

    #6C3745

    oklch(40.9% 0.077 4.2)

  • #41511D

    #41511D

    oklch(40.9% 0.078 124.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E71

    #1F4E71

    oklch(40.9% 0.078 244)

  • #63395B

    #63395B

    oklch(40.8% 0.077 334.2)

  • #674016

    #674016

    oklch(40.9% 0.078 64.1)

  • #225636

    #225636

    oklch(40.8% 0.078 154)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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