#1F7CB2

Closest named color: Nice Blue (#107AB0). oklch(56% 0.117 240.3), rgb(31, 124, 178).

Aa

Black text reads best on this color (4.58:1).

About this color

#1F7CB2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.117 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.009 away. Black text reads best on it, at 4.58:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.58:1
White text4.58:1

Values

HEX#1F7CB2
RGBrgb(31, 124, 178)
HSLhsl(202, 70%, 41%)
OKLCHoklch(56% 0.117 240.3)

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 #1F7CB2 4.58:1 AA Lc -76.9 Fine for body text
Black text on #1F7CB2 4.58:1 AA Lc 32.7 Non-text elements, placeholder text
#1F7CB2 text on white 4.58:1 AA Lc 71.4 Content text, not long reading
#1F7CB2 text on black 4.58:1 AA Lc -30.3 Non-text elements, placeholder text

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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  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

    #A3C6E0

    oklch(81% 0.053 240.5)

  5. Step 400

    400

    #6EA8D0

    oklch(70.7% 0.084 239.7)

  6. Step 500

    500

    #4491C4

    oklch(63% 0.108 240.5)

  7. Step 600

    600 (this color)

    #1F7CB2

    oklch(56% 0.117 240.3)

  8. Step 700

    700

    #0B6798

    oklch(49.1% 0.109 240.4)

  9. Step 800

    800

    #11547B

    oklch(42.6% 0.09 240.5)

  10. Step 900

    900

    #184663

    oklch(37.7% 0.07 240.2)

  11. Step 950

    950

    #10293A

    oklch(27% 0.044 240.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F7CB2 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)#627DB40.059
Deuteranopia (no green cones)#4E70B10.046
Tritanopia (no blue cones)#008A8F0.079
Achromatopsia (no color)#7575750.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7CB2

    #1F7CB2

    oklch(56% 0.117 240.3)

  • #A5621E

    #A5621E

    oklch(56% 0.117 60.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7CB2

    #1F7CB2

    oklch(56% 0.117 240.3)

  • #008394

    #008394

    oklch(55.9% 0.097 210.6)

  • #5A6FB9

    #5A6FB9

    oklch(55.9% 0.118 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F7CB2

    #1F7CB2

    oklch(56% 0.117 240.3)

  • #AF5749

    #AF5749

    oklch(56.1% 0.118 30.5)

  • #8E7100

    #8E7100

    oklch(56.1% 0.115 90.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7CB2

    #1F7CB2

    oklch(56% 0.117 240.3)

  • #AB5471

    #AB5471

    oklch(56% 0.118 0.5)

  • #6C7E22

    #6C7E22

    oklch(56% 0.117 120)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7CB2

    #1F7CB2

    oklch(56% 0.117 240.3)

  • #9B5995

    #9B5995

    oklch(56.1% 0.118 330.4)

  • #A5621E

    #A5621E

    oklch(56% 0.117 60.8)

  • #38874E

    #38874E

    oklch(55.9% 0.117 150.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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