#3A54B4

Closest named color: Mid Blue (#276AB3). oklch(48.1% 0.155 268.5), rgb(58, 84, 180).

Aa

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

About this color

#3A54B4 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.155 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.059 away. White text reads best on it, at 6.75:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.155)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.10:1
White text6.75:1

Values

HEX#3A54B4
RGBrgb(58, 84, 180)
HSLhsl(227, 51%, 47%)
OKLCHoklch(48.1% 0.155 268.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 #3A54B4 6.75:1 AA Lc -88.0 Fine for body text
Black text on #3A54B4 3.10:1 AA large text Lc 21.1 Dividers and decoration only
#3A54B4 text on white 6.75:1 AA Lc 82.9 Fine for body text
#3A54B4 text on black 3.10:1 AA large text Lc -19.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ACBFF2

    oklch(80.8% 0.075 268.8)

  5. Step 400

    400

    #819DEC

    oklch(70.7% 0.12 268.4)

  6. Step 500

    500

    #6382E6

    oklch(63.1% 0.154 268.7)

  7. Step 600

    600

    #4B69D4

    oklch(55.5% 0.168 268.6)

  8. Step 700

    700 (this color)

    #3A54B4

    oklch(48.1% 0.155 268.5)

  9. Step 800

    800

    #324894

    oklch(42.7% 0.128 268.4)

  10. Step 900

    900

    #2C3D76

    oklch(37.7% 0.099 268.8)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#3A54B4 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)#1261B70.040
Deuteranopia (no green cones)#0056B20.037
Tritanopia (no blue cones)#006B7C0.127
Achromatopsia (no color)#5B5B5B0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A54B4

    #3A54B4

    oklch(48.1% 0.155 268.5)

  • #745A00

    #745A00

    oklch(48.1% 0.098 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A54B4

    #3A54B4

    oklch(48.1% 0.155 268.5)

  • #006593

    #006593

    oklch(48.1% 0.107 238.3)

  • #6B43A8

    #6B43A8

    oklch(48% 0.156 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A54B4

    #3A54B4

    oklch(48.1% 0.155 268.5)

  • #8C4A00

    #8C4A00

    oklch(48% 0.115 58.2)

  • #586600

    #586600

    oklch(48.1% 0.113 118.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A54B4

    #3A54B4

    oklch(48.1% 0.155 268.5)

  • #A32E25

    #A32E25

    oklch(48% 0.155 28.6)

  • #00722D

    #00722D

    oklch(48.2% 0.137 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A54B4

    #3A54B4

    oklch(48.1% 0.155 268.5)

  • #9D2B5C

    #9D2B5C

    oklch(47.9% 0.155 358.6)

  • #745A00

    #745A00

    oklch(48.1% 0.098 89.1)

  • #006E5E

    #006E5E

    oklch(48.2% 0.089 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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