#4064A2

Closest named color: Dusky Blue (#475F94). oklch(50.6% 0.108 260.6), rgb(64, 100, 162).

Aa

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

About this color

#4064A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.108 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.024 away. White text reads best on it, at 5.89:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.56:1
White text5.89:1

Values

HEX#4064A2
RGBrgb(64, 100, 162)
HSLhsl(218, 43%, 44%)
OKLCHoklch(50.6% 0.108 260.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 #4064A2 5.89:1 AA Lc -84.5 Fine for body text
Black text on #4064A2 3.56:1 AA large text Lc 24.8 Dividers and decoration only
#4064A2 text on white 5.89:1 AA Lc 79.3 Fine for body text
#4064A2 text on black 3.56:1 AA large text Lc -22.5 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 700.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #AEC2E3

    oklch(81% 0.052 260.4)

  5. Step 400

    400

    #83A1D5

    oklch(70.6% 0.084 261.2)

  6. Step 500

    500

    #6489CA

    oklch(63% 0.107 261.2)

  7. Step 600

    600

    #4B72B7

    oklch(55.6% 0.117 261.1)

  8. Step 700

    700 (this color)

    #4064A2

    oklch(50.6% 0.108 260.6)

  9. Step 800

    800

    #324E7F

    oklch(42.6% 0.089 260.9)

  10. Step 900

    900

    #2C4166

    oklch(37.6% 0.069 261.2)

  11. Step 950

    950

    #1A263C

    oklch(26.9% 0.045 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#4064A2 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)#4A69A50.020
Deuteranopia (no green cones)#3D60A10.012
Tritanopia (no blue cones)#00727B0.093
Achromatopsia (no color)#6464640.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #4064A2

    #4064A2

    oklch(50.6% 0.108 260.6)

  • #835D00

    #835D00

    oklch(50.5% 0.104 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4064A2

    #4064A2

    oklch(50.6% 0.108 260.6)

  • #006F94

    #006F94

    oklch(50.7% 0.101 230.2)

  • #65599D

    #65599D

    oklch(50.6% 0.106 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #4064A2

    #4064A2

    oklch(50.6% 0.108 260.6)

  • #955024

    #955024

    oklch(50.6% 0.108 50.4)

  • #686A0A

    #686A0A

    oklch(50.6% 0.108 111)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4064A2

    #4064A2

    oklch(50.6% 0.108 260.6)

  • #99494A

    #99494A

    oklch(50.7% 0.107 20.9)

  • #407436

    #407436

    oklch(50.7% 0.108 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4064A2

    #4064A2

    oklch(50.6% 0.108 260.6)

  • #92496D

    #92496D

    oklch(50.7% 0.107 350.7)

  • #835D00

    #835D00

    oklch(50.5% 0.104 80.8)

  • #00775D

    #00775D

    oklch(50.7% 0.1 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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