#4158A9

Closest named color: Denim Blue (#3B5B92). oklch(48.5% 0.132 269.1), rgb(65, 88, 169).

Aa

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

About this color

#4158A9 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.132 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.041 away. White text reads best on it, at 6.57:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.19:1
White text6.57:1

Values

HEX#4158A9
RGBrgb(65, 88, 169)
HSLhsl(227, 44%, 46%)
OKLCHoklch(48.5% 0.132 269.1)

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 #4158A9 6.57:1 AA Lc -87.4 Fine for body text
Black text on #4158A9 3.19:1 AA large text Lc 21.7 Dividers and decoration only
#4158A9 text on white 6.57:1 AA Lc 82.3 Fine for body text
#4158A9 text on black 3.19:1 AA large text Lc -19.6 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #CFD9F1

    oklch(88.5% 0.035 267.6)

  4. Step 300

    300

    #B0C0EB

    oklch(81% 0.063 269)

  5. Step 400

    400

    #869EE1

    oklch(70.7% 0.102 268.6)

  6. Step 500

    500

    #6984D8

    oklch(63% 0.13 269)

  7. Step 600

    600

    #526CC6

    oklch(55.6% 0.142 269.2)

  8. Step 700

    700 (this color)

    #4158A9

    oklch(48.5% 0.132 269.1)

  9. Step 800

    800

    #374A8A

    oklch(42.7% 0.108 269)

  10. Step 900

    900

    #2F3E6F

    oklch(37.7% 0.086 269.2)

  11. Step 950

    950

    #1C2541

    oklch(27.1% 0.054 269.1)

Export this scale for Tailwind in the Tailwind colors tool

#4158A9 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)#3062AC0.029
Deuteranopia (no green cones)#1E59A70.033
Tritanopia (no blue cones)#006A780.114
Achromatopsia (no color)#5D5D5D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #4158A9

    #4158A9

    oklch(48.5% 0.132 269.1)

  • #755B00

    #755B00

    oklch(48.4% 0.099 89.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4158A9

    #4158A9

    oklch(48.5% 0.132 269.1)

  • #006696

    #006696

    oklch(48.6% 0.11 239.2)

  • #6A4A9E

    #6A4A9E

    oklch(48.4% 0.132 299)

Open the analogous palette in the generator

Split complementary

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

  • #4158A9

    #4158A9

    oklch(48.5% 0.132 269.1)

  • #8D4C00

    #8D4C00

    oklch(48.5% 0.115 59.3)

  • #586700

    #586700

    oklch(48.4% 0.114 119.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4158A9

    #4158A9

    oklch(48.5% 0.132 269.1)

  • #9C3B30

    #9C3B30

    oklch(48.6% 0.132 29.2)

  • #0B7231

    #0B7231

    oklch(48.4% 0.132 149.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4158A9

    #4158A9

    oklch(48.5% 0.132 269.1)

  • #97385D

    #97385D

    oklch(48.4% 0.132 359.1)

  • #755B00

    #755B00

    oklch(48.4% 0.099 89.3)

  • #006F60

    #006F60

    oklch(48.5% 0.089 179.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4158A9 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.