#1F77BF

Closest named color: Windows Blue (#3778BF). oklch(55.6% 0.137 248.6), rgb(31, 119, 191).

Aa

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

About this color

#1F77BF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.137 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.016 away. White text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.44:1
White text4.71:1

Values

HEX#1F77BF
RGBrgb(31, 119, 191)
HSLhsl(207, 72%, 44%)
OKLCHoklch(55.6% 0.137 248.6)

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 #1F77BF 4.71:1 AA Lc -77.8 Fine for body text
Black text on #1F77BF 4.44:1 AA large text Lc 31.8 Non-text elements, placeholder text
#1F77BF text on white 4.71:1 AA Lc 72.3 Content text, not long reading
#1F77BF text on black 4.44:1 AA large text Lc -29.4 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DCEF

    oklch(88.5% 0.034 246.8)

  4. Step 300

    300

    #A2C5E7

    oklch(80.9% 0.061 247.8)

  5. Step 400

    400

    #6EA6DC

    oklch(70.8% 0.099 248.5)

  6. Step 500

    500

    #448ED2

    oklch(63% 0.127 248.8)

  7. Step 600

    600 (this color)

    #1F77BF

    oklch(55.6% 0.137 248.6)

  8. Step 700

    700

    #0F64A5

    oklch(49.2% 0.127 248.5)

  9. Step 800

    800

    #125286

    oklch(42.8% 0.106 248.5)

  10. Step 900

    900

    #18446B

    oklch(37.7% 0.082 248.7)

  11. Step 950

    950

    #10283F

    oklch(27% 0.053 249.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F77BF 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)#547BC20.046
Deuteranopia (no green cones)#3C6DBE0.031
Tritanopia (no blue cones)#0088920.098
Achromatopsia (no color)#7373730.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F77BF

    #1F77BF

    oklch(55.6% 0.137 248.6)

  • #A16400

    #A16400

    oklch(55.7% 0.122 68.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F77BF

    #1F77BF

    oklch(55.6% 0.137 248.6)

  • #00819B

    #00819B

    oklch(55.7% 0.1 218.5)

  • #6368C1

    #6368C1

    oklch(55.6% 0.136 278.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F77BF

    #1F77BF

    oklch(55.6% 0.137 248.6)

  • #B45130

    #B45130

    oklch(55.5% 0.137 38.6)

  • #857300

    #857300

    oklch(55.6% 0.115 98.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F77BF

    #1F77BF

    oklch(55.6% 0.137 248.6)

  • #B44B63

    #B44B63

    oklch(55.6% 0.138 8.5)

  • #5A8216

    #5A8216

    oklch(55.7% 0.138 128.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F77BF

    #1F77BF

    oklch(55.6% 0.137 248.6)

  • #A54F8E

    #A54F8E

    oklch(55.5% 0.137 338.6)

  • #A16400

    #A16400

    oklch(55.7% 0.122 68.7)

  • #008956

    #008956

    oklch(55.5% 0.129 158.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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