#1F56B8

Closest named color: Blue Blue (#2242C7). oklch(47.7% 0.166 261), rgb(31, 86, 184).

Aa

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

About this color

#1F56B8 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.166 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.052 away. White text reads best on it, at 6.81:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.166)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.08:1
White text6.81:1

Values

HEX#1F56B8
RGBrgb(31, 86, 184)
HSLhsl(218, 71%, 42%)
OKLCHoklch(47.7% 0.166 261)

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 #1F56B8 6.81:1 AA Lc -88.0 Fine for body text
Black text on #1F56B8 3.08:1 AA large text Lc 21.1 Dividers and decoration only
#1F56B8 text on white 6.81:1 AA Lc 83.0 Fine for body text
#1F56B8 text on black 3.08:1 AA large text Lc -19.0 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 700.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C2F5

    oklch(81% 0.08 260.9)

  5. Step 400

    400

    #72A0F0

    oklch(70.7% 0.128 260.9)

  6. Step 500

    500

    #4D86EB

    oklch(63.1% 0.164 260.9)

  7. Step 600

    600

    #306DDA

    oklch(55.6% 0.179 261)

  8. Step 700

    700 (this color)

    #1F56B8

    oklch(47.7% 0.166 261)

  9. Step 800

    800

    #1F4A99

    oklch(42.7% 0.138 261.3)

  10. Step 900

    900

    #1E3F79

    oklch(37.7% 0.106 260.8)

  11. Step 950

    950

    #122547

    oklch(26.9% 0.068 261.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F56B8 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)#0662BB0.031
Deuteranopia (no green cones)#0054B60.016
Tritanopia (no blue cones)#006E7E0.128
Achromatopsia (no color)#5B5B5B0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F56B8

    #1F56B8

    oklch(47.7% 0.166 261)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F56B8

    #1F56B8

    oklch(47.7% 0.166 261)

  • #006689

    #006689

    oklch(47.8% 0.096 230.7)

  • #6044B1

    #6044B1

    oklch(47.7% 0.165 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #1F56B8

    #1F56B8

    oklch(47.7% 0.166 261)

  • #914300

    #914300

    oklch(47.6% 0.124 51)

  • #606100

    #606100

    oklch(47.6% 0.104 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F56B8

    #1F56B8

    oklch(47.7% 0.166 261)

  • #A62331

    #A62331

    oklch(47.7% 0.166 21)

  • #177000

    #177000

    oklch(47.6% 0.156 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F56B8

    #1F56B8

    oklch(47.7% 0.166 261)

  • #9C2668

    #9C2668

    oklch(47.7% 0.165 351.1)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

  • #006D56

    #006D56

    oklch(47.6% 0.093 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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