#1F7ADD

Closest named color: Cerulean Blue (#056EEE). oklch(58.2% 0.172 254.6), rgb(31, 122, 221).

Aa

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

About this color

#1F7ADD is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.172 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.044 away. Black text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.172)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.88:1
White text4.29:1

Values

HEX#1F7ADD
RGBrgb(31, 122, 221)
HSLhsl(211, 75%, 49%)
OKLCHoklch(58.2% 0.172 254.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 #1F7ADD 4.29:1 AA large text Lc -74.7 Content text, not long reading
Black text on #1F7ADD 4.88:1 AA Lc 34.9 Non-text elements, placeholder text
#1F7ADD text on white 4.29:1 AA large text Lc 69.2 Content text, not long reading
#1F7ADD text on black 4.88:1 AA Lc -32.5 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

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9FC4F2

    oklch(81% 0.077 254.1)

  5. Step 400

    400

    #69A3EC

    oklch(70.6% 0.124 254.8)

  6. Step 500

    500

    #3D8AE6

    oklch(63.1% 0.158 254.8)

  7. Step 600

    600 (this color)

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #094E95

    oklch(42.7% 0.132 254.6)

  10. Step 900

    900

    #134277

    oklch(37.8% 0.103 254.4)

  11. Step 950

    950

    #0D2745

    oklch(27% 0.064 254)

Export this scale for Tailwind in the Tailwind colors tool

#1F7ADD 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)#4583E10.038
Deuteranopia (no green cones)#1572DB0.022
Tritanopia (no blue cones)#0092A10.128
Achromatopsia (no color)#7A7A7A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F7ADD

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F7ADD

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  • #0088AB

    #0088AB

    oklch(58.2% 0.11 224.2)

  • #7366DB

    #7366DB

    oklch(58.2% 0.172 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F7ADD

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  • #C75100

    #C75100

    oklch(58.2% 0.167 44.8)

  • #877E00

    #877E00

    oklch(58.3% 0.123 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F7ADD

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  • #CC435A

    #CC435A

    oklch(58.2% 0.172 14.5)

  • #4B8F00

    #4B8F00

    oklch(58.2% 0.169 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F7ADD

    #1F7ADD

    oklch(58.2% 0.172 254.6)

  • #BD4792

    #BD4792

    oklch(58.1% 0.172 344.7)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

  • #009168

    #009168

    oklch(58.2% 0.123 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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