#1F77AC

Closest named color: Nice Blue (#107AB0). oklch(54.5% 0.115 241), rgb(31, 119, 172).

Aa

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

About this color

#1F77AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.115 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.010 away. White text reads best on it, at 4.89:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.29:1
White text4.89:1

Values

HEX#1F77AC
RGBrgb(31, 119, 172)
HSLhsl(203, 69%, 40%)
OKLCHoklch(54.5% 0.115 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 #1F77AC 4.89:1 AA Lc -78.9 Fine for body text
Black text on #1F77AC 4.29:1 AA large text Lc 30.6 Non-text elements, placeholder text
#1F77AC text on white 4.89:1 AA Lc 73.5 Content text, not long reading
#1F77AC text on black 4.29:1 AA large text Lc -28.2 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A4C6DF

    oklch(81% 0.051 240.1)

  5. Step 400

    400

    #71A7CF

    oklch(70.6% 0.082 241.4)

  6. Step 500

    500

    #4791C3

    oklch(63.1% 0.105 240.8)

  7. Step 600

    600 (this color)

    #1F77AC

    oklch(54.5% 0.115 241)

  8. Step 700

    700

    #146797

    oklch(49.1% 0.106 240.9)

  9. Step 800

    800

    #15547A

    oklch(42.6% 0.088 240.7)

  10. Step 900

    900

    #1A4663

    oklch(37.8% 0.069 241)

  11. Step 950

    950

    #11293A

    oklch(27% 0.044 241.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F77AC 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)#5E78AE0.057
Deuteranopia (no green cones)#4B6BAB0.045
Tritanopia (no blue cones)#00848A0.076
Achromatopsia (no color)#7171710.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F77AC

    #1F77AC

    oklch(54.5% 0.115 241)

  • #9F5E1B

    #9F5E1B

    oklch(54.5% 0.115 61)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F77AC

    #1F77AC

    oklch(54.5% 0.115 241)

  • #007E8F

    #007E8F

    oklch(54.4% 0.094 211.2)

  • #586BB3

    #586BB3

    oklch(54.6% 0.115 271)

Open the analogous palette in the generator

Split complementary

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

  • #1F77AC

    #1F77AC

    oklch(54.5% 0.115 241)

  • #A85445

    #A85445

    oklch(54.5% 0.114 31.5)

  • #886D00

    #886D00

    oklch(54.5% 0.112 91.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F77AC

    #1F77AC

    oklch(54.5% 0.115 241)

  • #A5516C

    #A5516C

    oklch(54.6% 0.114 1.2)

  • #667A21

    #667A21

    oklch(54.5% 0.115 121.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F77AC

    #1F77AC

    oklch(54.5% 0.115 241)

  • #95558F

    #95558F

    oklch(54.4% 0.115 330.5)

  • #9F5E1B

    #9F5E1B

    oklch(54.5% 0.115 61)

  • #33824C

    #33824C

    oklch(54.3% 0.114 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 #1F77AC, closest first.

Similar named colors

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

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