#4076B2

Closest named color: Flat Blue (#3C73A8). oklch(55.7% 0.11 252.6), rgb(64, 118, 178).

Aa

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

About this color

#4076B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.110 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.017 away. White text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.45:1
White text4.71:1

Values

HEX#4076B2
RGBrgb(64, 118, 178)
HSLhsl(212, 47%, 47%)
OKLCHoklch(55.7% 0.11 252.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 #4076B2 4.71:1 AA Lc -78.0 Fine for body text
Black text on #4076B2 4.45:1 AA large text Lc 31.5 Non-text elements, placeholder text
#4076B2 text on white 4.71:1 AA Lc 72.5 Content text, not long reading
#4076B2 text on black 4.45:1 AA large text Lc -29.1 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CDDBEB

    oklch(88.6% 0.027 251.7)

  4. Step 300

    300

    #AAC3E0

    oklch(80.8% 0.049 252.3)

  5. Step 400

    400

    #7DA4D1

    oklch(70.7% 0.079 252.5)

  6. Step 500

    500

    #5B8DC5

    oklch(63.2% 0.101 252.2)

  7. Step 600

    600 (this color)

    #4076B2

    oklch(55.7% 0.11 252.6)

  8. Step 700

    700

    #326399

    oklch(49.2% 0.102 252.6)

  9. Step 800

    800

    #2A517C

    oklch(42.8% 0.085 252.4)

  10. Step 900

    900

    #264364

    oklch(37.6% 0.067 252.8)

  11. Step 950

    950

    #17283A

    oklch(27.1% 0.041 250.8)

Export this scale for Tailwind in the Tailwind colors tool

#4076B2 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)#5C79B50.033
Deuteranopia (no green cones)#4D6EB10.024
Tritanopia (no blue cones)#00848C0.088
Achromatopsia (no color)#7373730.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #4076B2

    #4076B2

    oklch(55.7% 0.11 252.6)

  • #9A6818

    #9A6818

    oklch(55.7% 0.11 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4076B2

    #4076B2

    oklch(55.7% 0.11 252.6)

  • #00809F

    #00809F

    oklch(55.6% 0.103 222.6)

  • #6A6AB2

    #6A6AB2

    oklch(55.6% 0.11 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #4076B2

    #4076B2

    oklch(55.7% 0.11 252.6)

  • #A85C3C

    #A85C3C

    oklch(55.7% 0.109 42.9)

  • #807514

    #807514

    oklch(55.6% 0.11 102.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4076B2

    #4076B2

    oklch(55.7% 0.11 252.6)

  • #AA5661

    #AA5661

    oklch(55.7% 0.11 13.1)

  • #5A8139

    #5A8139

    oklch(55.7% 0.11 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4076B2

    #4076B2

    oklch(55.7% 0.11 252.6)

  • #9F5785

    #9F5785

    oklch(55.6% 0.111 342.4)

  • #9A6818

    #9A6818

    oklch(55.7% 0.11 73.1)

  • #208760

    #208760

    oklch(55.6% 0.11 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4076B2 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.