#1F4E70

Closest named color: Deep Sea Blue (#015482). oklch(40.8% 0.077 243.2), rgb(31, 78, 112).

Aa

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

About this color

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

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

Values

HEX#1F4E70
RGBrgb(31, 78, 112)
HSLhsl(205, 57%, 28%)
OKLCHoklch(40.8% 0.077 243.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 #1F4E70 8.81:1 AAA Lc -94.4 Preferred for body text
Black text on #1F4E70 2.38:1 Fails Lc 14.1 Not readable
#1F4E70 text on white 8.81:1 AAA Lc 89.9 Fine for body text
#1F4E70 text on black 2.38:1 Fails Lc -12.3 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

    #A9C5DC

    oklch(81% 0.045 243.1)

  5. Step 400

    400

    #79A6CA

    oklch(70.6% 0.072 243.1)

  6. Step 500

    500

    #5690BD

    oklch(63.2% 0.091 243.3)

  7. Step 600

    600

    #3979A9

    oklch(55.6% 0.1 243.7)

  8. Step 700

    700

    #2A6691

    oklch(49.1% 0.093 243.1)

  9. Step 800

    800 (this color)

    #1F4E70

    oklch(40.8% 0.077 243.2)

  10. Step 900

    900

    #23455F

    oklch(37.7% 0.06 243.4)

  11. Step 950

    950

    #152938

    oklch(27.2% 0.038 242.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E70 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)#3F4F720.037
Deuteranopia (no green cones)#33476F0.027
Tritanopia (no blue cones)#00565A0.054
Achromatopsia (no color)#4A4A4A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E70

    #1F4E70

    oklch(40.8% 0.077 243.2)

  • #674018

    #674018

    oklch(40.9% 0.077 63.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E70

    #1F4E70

    oklch(40.8% 0.077 243.2)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

  • #3D4673

    #3D4673

    oklch(40.8% 0.076 274)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E70

    #1F4E70

    oklch(40.8% 0.077 243.2)

  • #6D392E

    #6D392E

    oklch(40.8% 0.076 33)

  • #58490E

    #58490E

    oklch(40.9% 0.077 93.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E70

    #1F4E70

    oklch(40.8% 0.077 243.2)

  • #6C3746

    #6C3746

    oklch(40.9% 0.077 3)

  • #42511E

    #42511E

    oklch(41% 0.077 123.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E70

    #1F4E70

    oklch(40.8% 0.077 243.2)

  • #62395B

    #62395B

    oklch(40.7% 0.076 333.3)

  • #674018

    #674018

    oklch(40.9% 0.077 63.1)

  • #245636

    #245636

    oklch(40.9% 0.077 153.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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