#1F7CDB

Closest named color: Water Blue (#0E87CC). oklch(58.5% 0.167 253.5), rgb(31, 124, 219).

Aa

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

About this color

#1F7CDB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.167 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.041 away. Black text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.167)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text4.96:1
White text4.23:1

Values

HEX#1F7CDB
RGBrgb(31, 124, 219)
HSLhsl(210, 75%, 49%)
OKLCHoklch(58.5% 0.167 253.5)

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 #1F7CDB 4.23:1 AA large text Lc -74.1 Content text, not long reading
Black text on #1F7CDB 4.96:1 AA Lc 35.4 Non-text elements, placeholder text
#1F7CDB text on white 4.23:1 AA large text Lc 68.7 Content text, not long reading
#1F7CDB text on black 4.96:1 AA Lc -33.0 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF5

    oklch(88.4% 0.042 253.8)

  4. Step 300

    300

    #9FC4F1

    oklch(80.9% 0.075 253.6)

  5. Step 400

    400

    #69A4EA

    oklch(70.8% 0.12 253.6)

  6. Step 500

    500

    #3C8BE3

    oklch(63.1% 0.154 253.5)

  7. Step 600

    600 (this color)

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #074F93

    oklch(42.8% 0.129 253.4)

  10. Step 900

    900

    #134275

    oklch(37.7% 0.1 253.6)

  11. Step 950

    950

    #0D2744

    oklch(27% 0.063 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F7CDB 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)#4A84DF0.040
Deuteranopia (no green cones)#2373D90.024
Tritanopia (no blue cones)#0093A10.124
Achromatopsia (no color)#7B7B7B0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7CDB

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  • #A76E00

    #A76E00

    oklch(58.4% 0.124 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7CDB

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  • #0089AB

    #0089AB

    oklch(58.5% 0.109 223.3)

  • #7269DA

    #7269DA

    oklch(58.5% 0.167 283.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F7CDB

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  • #C9510C

    #C9510C

    oklch(58.5% 0.168 43.3)

  • #897E00

    #897E00

    oklch(58.5% 0.123 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7CDB

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  • #CB475E

    #CB475E

    oklch(58.6% 0.167 13.6)

  • #508F00

    #508F00

    oklch(58.4% 0.166 133.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7CDB

    #1F7CDB

    oklch(58.5% 0.167 253.5)

  • #BC4B95

    #BC4B95

    oklch(58.5% 0.167 343.4)

  • #A76E00

    #A76E00

    oklch(58.4% 0.124 73.4)

  • #009267

    #009267

    oklch(58.4% 0.125 163.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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