#4C87AF

Closest named color: Off Blue (#5684AE). oklch(60% 0.087 240), rgb(76, 135, 175).

Aa

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

About this color

#4C87AF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.087 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.012 away. Black text reads best on it, at 5.39:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.39:1
White text3.89:1

Values

HEX#4C87AF
RGBrgb(76, 135, 175)
HSLhsl(204, 39%, 49%)
OKLCHoklch(60% 0.087 240)

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 #4C87AF 3.89:1 AA large text Lc -71.7 Content text, not long reading
Black text on #4C87AF 5.39:1 AA Lc 37.8 Non-text elements, placeholder text
#4C87AF text on white 3.89:1 AA large text Lc 66.2 Content text, not long reading
#4C87AF text on black 5.39:1 AA Lc -35.4 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 500.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CCDCE7

    oklch(88.6% 0.023 237.7)

  4. Step 300

    300

    #A9C5DA

    oklch(80.9% 0.042 240.5)

  5. Step 400

    400

    #79A7C7

    oklch(70.7% 0.068 239.3)

  6. Step 500

    500 (this color)

    #4C87AF

    oklch(60% 0.087 240)

  7. Step 600

    600

    #387AA5

    oklch(55.6% 0.095 240.1)

  8. Step 700

    700

    #2A678D

    oklch(49.2% 0.087 239.4)

  9. Step 800

    800

    #245473

    oklch(42.7% 0.073 239.9)

  10. Step 900

    900

    #23455D

    oklch(37.6% 0.057 241.3)

  11. Step 950

    950

    #152936

    oklch(27% 0.036 238.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C87AF 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)#7587B10.047
Deuteranopia (no green cones)#687DAE0.039
Tritanopia (no blue cones)#0091940.070
Achromatopsia (no color)#8181810.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C87AF

    #4C87AF

    oklch(60% 0.087 240)

  • #A67349

    #A67349

    oklch(59.9% 0.086 59.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C87AF

    #4C87AF

    oklch(60% 0.087 240)

  • #338E9D

    #338E9D

    oklch(60% 0.087 210.4)

  • #6C7EB5

    #6C7EB5

    oklch(60.1% 0.087 269.8)

Open the analogous palette in the generator

Split complementary

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

  • #4C87AF

    #4C87AF

    oklch(60% 0.087 240)

  • #AE6C61

    #AE6C61

    oklch(60% 0.087 30.1)

  • #947E3F

    #947E3F

    oklch(60% 0.087 90.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C87AF

    #4C87AF

    oklch(60% 0.087 240)

  • #AB6A7E

    #AB6A7E

    oklch(60.1% 0.087 0.1)

  • #79884A

    #79884A

    oklch(60% 0.088 120.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C87AF

    #4C87AF

    oklch(60% 0.087 240)

  • #9E6D99

    #9E6D99

    oklch(60% 0.087 330.2)

  • #A67349

    #A67349

    oklch(59.9% 0.086 59.6)

  • #598F64

    #598F64

    oklch(60% 0.087 149.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4C87AF 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.