#0871DF

Closest named color: Cerulean Blue (#056EEE). oklch(56.1% 0.188 256), rgb(8, 113, 223).

Aa

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

About this color

#0871DF is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.188 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.025 away. White text reads best on it, at 4.73:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.188)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.43:1
White text4.73:1

Values

HEX#0871DF
RGBrgb(8, 113, 223)
HSLhsl(211, 93%, 45%)
OKLCHoklch(56.1% 0.188 256)

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 #0871DF 4.73:1 AA Lc -77.5 Fine for body text
Black text on #0871DF 4.43:1 AA large text Lc 32.0 Non-text elements, placeholder text
#0871DF text on white 4.73:1 AA Lc 72.1 Content text, not long reading
#0871DF text on black 4.43:1 AA large text Lc -29.6 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9DC3F7

    oklch(80.8% 0.085 256.3)

  5. Step 400

    400

    #65A2F3

    oklch(70.6% 0.135 256)

  6. Step 500

    500

    #3789EF

    oklch(63.2% 0.172 255.8)

  7. Step 600

    600 (this color)

    #0871DF

    oklch(56.1% 0.188 256)

  8. Step 700

    700

    #005DBC

    oklch(49% 0.167 256)

  9. Step 800

    800

    #024C9B

    oklch(42.6% 0.144 256)

  10. Step 900

    900

    #10407C

    oklch(37.6% 0.114 256.4)

  11. Step 950

    950

    #0B2648

    oklch(26.9% 0.071 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#0871DF 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)#2A7DE30.037
Deuteranopia (no green cones)#006BDD0.016
Tritanopia (no blue cones)#008C9D0.141
Achromatopsia (no color)#7373730.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #0871DF

    #0871DF

    oklch(56.1% 0.188 256)

  • #9C6900

    #9C6900

    oklch(56.1% 0.118 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0871DF

    #0871DF

    oklch(56.1% 0.188 256)

  • #0081A4

    #0081A4

    oklch(56.1% 0.107 225.4)

  • #705BDB

    #705BDB

    oklch(56% 0.188 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #0871DF

    #0871DF

    oklch(56.1% 0.188 256)

  • #BC4F00

    #BC4F00

    oklch(56.1% 0.158 46.1)

  • #7E7800

    #7E7800

    oklch(56% 0.12 106.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0871DF

    #0871DF

    oklch(56.1% 0.188 256)

  • #CB324E

    #CB324E

    oklch(56.1% 0.188 15.8)

  • #418900

    #418900

    oklch(56.1% 0.167 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0871DF

    #0871DF

    oklch(56.1% 0.188 256)

  • #BC388B

    #BC388B

    oklch(56.1% 0.187 346.2)

  • #9C6900

    #9C6900

    oklch(56.1% 0.118 75.5)

  • #008A65

    #008A65

    oklch(56.2% 0.116 166)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0871DF 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.