#1F71A3

Closest named color: Ocean Blue (#03719C). oklch(52.5% 0.109 241), rgb(31, 113, 163).

Aa

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

About this color

#1F71A3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.109 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.016 away. White text reads best on it, at 5.31:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.94:1
White text5.31:1

Values

HEX#1F71A3
RGBrgb(31, 113, 163)
HSLhsl(203, 68%, 38%)
OKLCHoklch(52.5% 0.109 241)

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 #1F71A3 5.31:1 AA Lc -81.4 Fine for body text
Black text on #1F71A3 3.94:1 AA large text Lc 28.0 Dividers and decoration only
#1F71A3 text on white 5.31:1 AA Lc 76.1 Fine for body text
#1F71A3 text on black 3.94:1 AA large text Lc -25.7 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A5C5DE

    oklch(80.8% 0.049 241.8)

  5. Step 400

    400

    #73A7CD

    oklch(70.6% 0.078 241)

  6. Step 500

    500

    #4C91C0

    oklch(63.1% 0.1 240.6)

  7. Step 600

    600 (this color)

    #1F71A3

    oklch(52.5% 0.109 241)

  8. Step 700

    700

    #1C6794

    oklch(49.1% 0.101 240.5)

  9. Step 800

    800

    #1B5478

    oklch(42.7% 0.083 240.8)

  10. Step 900

    900

    #1D4661

    oklch(37.8% 0.065 240.4)

  11. Step 950

    950

    #122939

    oklch(27% 0.042 241)

Export this scale for Tailwind in the Tailwind colors tool

#1F71A3 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)#5972A50.054
Deuteranopia (no green cones)#4766A20.042
Tritanopia (no blue cones)#007D830.072
Achromatopsia (no color)#6B6B6B0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F71A3

    #1F71A3

    oklch(52.5% 0.109 241)

  • #97591B

    #97591B

    oklch(52.4% 0.109 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F71A3

    #1F71A3

    oklch(52.5% 0.109 241)

  • #007888

    #007888

    oklch(52.5% 0.091 210.9)

  • #5365A9

    #5365A9

    oklch(52.4% 0.109 271)

Open the analogous palette in the generator

Split complementary

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

  • #1F71A3

    #1F71A3

    oklch(52.5% 0.109 241)

  • #A05042

    #A05042

    oklch(52.6% 0.109 31.3)

  • #826700

    #826700

    oklch(52.6% 0.107 90.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F71A3

    #1F71A3

    oklch(52.5% 0.109 241)

  • #9C4D67

    #9C4D67

    oklch(52.5% 0.109 0.7)

  • #617320

    #617320

    oklch(52.4% 0.109 120.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F71A3

    #1F71A3

    oklch(52.5% 0.109 241)

  • #8E5187

    #8E5187

    oklch(52.5% 0.109 331.3)

  • #97591B

    #97591B

    oklch(52.4% 0.109 60.5)

  • #327C49

    #327C49

    oklch(52.6% 0.109 151.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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