#4064C6

Closest named color: Mid Blue (#276AB3). oklch(53% 0.158 266), rgb(64, 100, 198).

Aa

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

About this color

#4064C6 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.158 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.042 away. White text reads best on it, at 5.44:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.158)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.85:1
White text5.44:1

Values

HEX#4064C6
RGBrgb(64, 100, 198)
HSLhsl(224, 54%, 51%)
OKLCHoklch(53% 0.158 266)

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 #4064C6 5.44:1 AA Lc -82.2 Fine for body text
Black text on #4064C6 3.85:1 AA large text Lc 27.2 Dividers and decoration only
#4064C6 text on white 5.44:1 AA Lc 76.8 Fine for body text
#4064C6 text on black 3.85:1 AA large text Lc -24.9 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F4

    oklch(88.5% 0.039 266.5)

  4. Step 300

    300

    #ABC0F0

    oklch(80.9% 0.072 266.3)

  5. Step 400

    400

    #7F9EE8

    oklch(70.6% 0.114 266.2)

  6. Step 500

    500

    #6084E1

    oklch(63% 0.146 266.3)

  7. Step 600

    600 (this color)

    #4064C6

    oklch(53% 0.158 266)

  8. Step 700

    700

    #395AB3

    oklch(49.2% 0.146 265.9)

  9. Step 800

    800

    #2F4A91

    oklch(42.8% 0.122 265.8)

  10. Step 900

    900

    #2A3E74

    oklch(37.7% 0.096 266.6)

  11. Step 950

    950

    #182544

    oklch(27% 0.061 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#4064C6 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)#2D70CA0.032
Deuteranopia (no green cones)#0064C40.038
Tritanopia (no blue cones)#007B8B0.130
Achromatopsia (no color)#6A6A6A0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #4064C6

    #4064C6

    oklch(53% 0.158 266)

  • #876600

    #876600

    oklch(52.9% 0.108 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4064C6

    #4064C6

    oklch(53% 0.158 266)

  • #0074A4

    #0074A4

    oklch(52.9% 0.114 236.1)

  • #7653BB

    #7653BB

    oklch(53% 0.158 296.1)

Open the analogous palette in the generator

Split complementary

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

  • #4064C6

    #4064C6

    oklch(53% 0.158 266)

  • #A25400

    #A25400

    oklch(53% 0.129 56.4)

  • #697300

    #697300

    oklch(52.9% 0.12 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4064C6

    #4064C6

    oklch(53% 0.158 266)

  • #B53C38

    #B53C38

    oklch(53% 0.157 25.9)

  • #0A822A

    #0A822A

    oklch(52.9% 0.158 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4064C6

    #4064C6

    oklch(53% 0.158 266)

  • #AE3A6F

    #AE3A6F

    oklch(53% 0.159 355.8)

  • #876600

    #876600

    oklch(52.9% 0.108 86.3)

  • #007E69

    #007E69

    oklch(53% 0.099 175.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4064C6 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.