#4057AF

Closest named color: Denim Blue (#3B5B92). oklch(48.6% 0.142 269.5), rgb(64, 87, 175).

Aa

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

About this color

#4057AF is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.142 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.051 away. White text reads best on it, at 6.56:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.142)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.20:1
White text6.56:1

Values

HEX#4057AF
RGBrgb(64, 87, 175)
HSLhsl(228, 46%, 47%)
OKLCHoklch(48.6% 0.142 269.5)

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 #4057AF 6.56:1 AA Lc -87.3 Fine for body text
Black text on #4057AF 3.20:1 AA large text Lc 21.8 Dividers and decoration only
#4057AF text on white 6.56:1 AA Lc 82.2 Fine for body text
#4057AF text on black 3.20:1 AA large text Lc -19.7 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #859DE6

    oklch(70.7% 0.111 269.5)

  6. Step 500

    500

    #6883DE

    oklch(63.1% 0.14 269.6)

  7. Step 600

    600

    #506BCC

    oklch(55.7% 0.153 269.3)

  8. Step 700

    700 (this color)

    #4057AF

    oklch(48.6% 0.142 269.5)

  9. Step 800

    800

    #36498F

    oklch(42.8% 0.118 269.5)

  10. Step 900

    900

    #2E3D72

    oklch(37.6% 0.093 269.6)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#4057AF 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)#2762B20.034
Deuteranopia (no green cones)#0A59AD0.040
Tritanopia (no blue cones)#006B7B0.120
Achromatopsia (no color)#5D5D5D0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #4057AF

    #4057AF

    oklch(48.6% 0.142 269.5)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4057AF

    #4057AF

    oklch(48.6% 0.142 269.5)

  • #006697

    #006697

    oklch(48.6% 0.111 239.7)

  • #6C48A3

    #6C48A3

    oklch(48.6% 0.142 299.3)

Open the analogous palette in the generator

Split complementary

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

  • #4057AF

    #4057AF

    oklch(48.6% 0.142 269.5)

  • #8D4C00

    #8D4C00

    oklch(48.5% 0.115 59.3)

  • #586800

    #586800

    oklch(48.7% 0.115 119.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4057AF

    #4057AF

    oklch(48.6% 0.142 269.5)

  • #A0372B

    #A0372B

    oklch(48.6% 0.142 29.6)

  • #007331

    #007331

    oklch(48.5% 0.135 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4057AF

    #4057AF

    oklch(48.6% 0.142 269.5)

  • #9B345D

    #9B345D

    oklch(48.6% 0.142 359.3)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

  • #006F61

    #006F61

    oklch(48.5% 0.088 180.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4057AF 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.