#3A54B7

Closest named color: Blue Blue (#2242C7). oklch(48.3% 0.159 268.7), rgb(58, 84, 183).

Aa

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

About this color

#3A54B7 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.159 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.058 away. White text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.159)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.13:1
White text6.70:1

Values

HEX#3A54B7
RGBrgb(58, 84, 183)
HSLhsl(228, 52%, 47%)
OKLCHoklch(48.3% 0.159 268.7)

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 #3A54B7 6.70:1 AA Lc -87.7 Fine for body text
Black text on #3A54B7 3.13:1 AA large text Lc 21.3 Dividers and decoration only
#3A54B7 text on white 6.70:1 AA Lc 82.7 Fine for body text
#3A54B7 text on black 3.13:1 AA large text Lc -19.2 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ACBFF3

    oklch(80.8% 0.077 269)

  5. Step 400

    400

    #819DEE

    oklch(70.8% 0.123 268.6)

  6. Step 500

    500

    #6282E8

    oklch(63.1% 0.157 268.5)

  7. Step 600

    600

    #4A69D6

    oklch(55.6% 0.171 268.4)

  8. Step 700

    700 (this color)

    #3A54B7

    oklch(48.3% 0.159 268.7)

  9. Step 800

    800

    #324796

    oklch(42.6% 0.132 269)

  10. Step 900

    900

    #2B3D78

    oklch(37.8% 0.103 268.4)

  11. Step 950

    950

    #192446

    oklch(27% 0.065 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A54B7 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)#0962BA0.043
Deuteranopia (no green cones)#0056B50.037
Tritanopia (no blue cones)#006C7D0.131
Achromatopsia (no color)#5C5C5C0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A54B7

    #3A54B7

    oklch(48.3% 0.159 268.7)

  • #755A00

    #755A00

    oklch(48.2% 0.098 88.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A54B7

    #3A54B7

    oklch(48.3% 0.159 268.7)

  • #006594

    #006594

    oklch(48.2% 0.108 238.8)

  • #6C43AA

    #6C43AA

    oklch(48.3% 0.159 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A54B7

    #3A54B7

    oklch(48.3% 0.159 268.7)

  • #8D4B00

    #8D4B00

    oklch(48.3% 0.115 58.5)

  • #586600

    #586600

    oklch(48.1% 0.113 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A54B7

    #3A54B7

    oklch(48.3% 0.159 268.7)

  • #A62C23

    #A62C23

    oklch(48.3% 0.16 28.7)

  • #00722D

    #00722D

    oklch(48.2% 0.137 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A54B7

    #3A54B7

    oklch(48.3% 0.159 268.7)

  • #A02A5D

    #A02A5D

    oklch(48.4% 0.159 358.8)

  • #755A00

    #755A00

    oklch(48.2% 0.098 88.3)

  • #006E5F

    #006E5F

    oklch(48.2% 0.088 179)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A54B7 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.