#4A538B

Closest named color: Twilight (#4E518B). oklch(46.1% 0.092 275.3), rgb(74, 83, 139).

Aa

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

About this color

#4A538B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.092 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.008 away. White text reads best on it, at 7.23:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.90:1
White text7.23:1

Values

HEX#4A538B
RGBrgb(74, 83, 139)
HSLhsl(232, 31%, 42%)
OKLCHoklch(46.1% 0.092 275.3)

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 #4A538B 7.23:1 AAA Lc -89.9 Fine for body text
Black text on #4A538B 2.90:1 Fails Lc 19.0 Dividers and decoration only
#4A538B text on white 7.23:1 AAA Lc 85.0 Fine for body text
#4A538B text on black 2.90:1 Fails Lc -17.0 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EA

    oklch(88.5% 0.025 275.9)

  4. Step 300

    300

    #B8BFDE

    oklch(80.9% 0.044 275.3)

  5. Step 400

    400

    #949DCD

    oklch(70.6% 0.071 276.2)

  6. Step 500

    500

    #7A85C0

    oklch(63.1% 0.09 275.4)

  7. Step 600

    600

    #636EAD

    oklch(55.7% 0.099 275.2)

  8. Step 700

    700 (this color)

    #4A538B

    oklch(46.1% 0.092 275.3)

  9. Step 800

    800

    #434B78

    oklch(42.7% 0.075 275.1)

  10. Step 900

    900

    #393F61

    oklch(37.8% 0.059 275.6)

  11. Step 950

    950

    #212539

    oklch(27% 0.038 274.9)

Export this scale for Tailwind in the Tailwind colors tool

#4A538B 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)#3E5A8D0.023
Deuteranopia (no green cones)#39548A0.022
Tritanopia (no blue cones)#335F680.082
Achromatopsia (no color)#5757570.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A538B

    #4A538B

    oklch(46.1% 0.092 275.3)

  • #685708

    #685708

    oklch(46% 0.091 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A538B

    #4A538B

    oklch(46.1% 0.092 275.3)

  • #255D88

    #255D88

    oklch(46.2% 0.091 245)

  • #644A81

    #644A81

    oklch(46% 0.091 304.8)

Open the analogous palette in the generator

Split complementary

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

  • #4A538B

    #4A538B

    oklch(46.1% 0.092 275.3)

  • #7B4C16

    #7B4C16

    oklch(46.1% 0.092 64.8)

  • #4C6122

    #4C6122

    oklch(46.1% 0.092 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A538B

    #4A538B

    oklch(46.1% 0.092 275.3)

  • #834433

    #834433

    oklch(46.1% 0.091 36)

  • #246741

    #246741

    oklch(46% 0.092 155.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A538B

    #4A538B

    oklch(46.1% 0.092 275.3)

  • #824151

    #824151

    oklch(46.2% 0.091 5.6)

  • #685708

    #685708

    oklch(46% 0.091 95.3)

  • #00675E

    #00675E

    oklch(46.2% 0.082 184.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A538B 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.