#4080D8

Closest named color: Water Blue (#0E87CC). oklch(60.1% 0.15 257), rgb(64, 128, 216).

Aa

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

About this color

#4080D8 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.150 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.037 away. Black text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.150)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.29:1
White text3.96:1

Values

HEX#4080D8
RGBrgb(64, 128, 216)
HSLhsl(215, 66%, 55%)
OKLCHoklch(60.1% 0.15 257)

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 #4080D8 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #4080D8 5.29:1 AA Lc 37.4 Non-text elements, placeholder text
#4080D8 text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#4080D8 text on black 5.29:1 AA Lc -35.0 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A3C3F0

    oklch(80.9% 0.073 256.9)

  5. Step 400

    400

    #70A2E9

    oklch(70.6% 0.118 257.2)

  6. Step 500

    500 (this color)

    #4080D8

    oklch(60.1% 0.15 257)

  7. Step 600

    600

    #2A71D0

    oklch(55.6% 0.163 257.1)

  8. Step 700

    700

    #1C5EB4

    oklch(49.1% 0.151 257.1)

  9. Step 800

    800

    #1A4D92

    oklch(42.6% 0.126 257.3)

  10. Step 900

    900

    #1C4174

    oklch(37.7% 0.097 257.1)

  11. Step 950

    950

    #112644

    oklch(26.9% 0.062 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#4080D8 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)#5787DB0.031
Deuteranopia (no green cones)#3E79D60.019
Tritanopia (no blue cones)#0094A10.117
Achromatopsia (no color)#8080800.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #4080D8

    #4080D8

    oklch(60.1% 0.15 257)

  • #AA7500

    #AA7500

    oklch(60.2% 0.126 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4080D8

    #4080D8

    oklch(60.1% 0.15 257)

  • #008DB6

    #008DB6

    oklch(60% 0.116 227.3)

  • #7C6FD4

    #7C6FD4

    oklch(60.1% 0.15 286.9)

Open the analogous palette in the generator

Split complementary

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

  • #4080D8

    #4080D8

    oklch(60.1% 0.15 257)

  • #C65F21

    #C65F21

    oklch(60.2% 0.149 47.2)

  • #8A8500

    #8A8500

    oklch(60.2% 0.129 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4080D8

    #4080D8

    oklch(60.1% 0.15 257)

  • #CA5460

    #CA5460

    oklch(60.1% 0.15 16.7)

  • #519431

    #519431

    oklch(60.1% 0.149 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4080D8

    #4080D8

    oklch(60.1% 0.15 257)

  • #BE5692

    #BE5692

    oklch(60.1% 0.15 346.9)

  • #AA7500

    #AA7500

    oklch(60.2% 0.126 77.2)

  • #009771

    #009771

    oklch(60% 0.123 167.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4080D8 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.