#3A54BC

Closest named color: Warm Blue (#4B57DB). oklch(48.7% 0.166 268.8), rgb(58, 84, 188).

Aa

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

About this color

#3A54BC is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.166 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.054 away. White text reads best on it, at 6.61:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.166)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.17:1
White text6.61:1

Values

HEX#3A54BC
RGBrgb(58, 84, 188)
HSLhsl(228, 53%, 48%)
OKLCHoklch(48.7% 0.166 268.8)

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 #3A54BC 6.61:1 AA Lc -87.4 Fine for body text
Black text on #3A54BC 3.17:1 AA large text Lc 21.7 Dividers and decoration only
#3A54BC text on white 6.61:1 AA Lc 82.3 Fine for body text
#3A54BC text on black 3.17: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CDD9F8

    oklch(88.6% 0.045 268.7)

  4. Step 300

    300

    #ABBFF6

    oklch(80.9% 0.081 269)

  5. Step 400

    400

    #7F9CF1

    oklch(70.7% 0.129 268.7)

  6. Step 500

    500

    #6181EC

    oklch(63.1% 0.164 268.8)

  7. Step 600

    600

    #4968DA

    oklch(55.7% 0.178 268.6)

  8. Step 700

    700 (this color)

    #3A54BC

    oklch(48.7% 0.166 268.8)

  9. Step 800

    800

    #314699

    oklch(42.6% 0.138 269.1)

  10. Step 900

    900

    #2A3C7A

    oklch(37.7% 0.108 268.6)

  11. Step 950

    950

    #192447

    oklch(27.1% 0.067 268.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A54BC 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)#0063C00.045
Deuteranopia (no green cones)#0057BA0.036
Tritanopia (no blue cones)#006D800.134
Achromatopsia (no color)#5D5D5D0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A54BC

    #3A54BC

    oklch(48.7% 0.166 268.8)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A54BC

    #3A54BC

    oklch(48.7% 0.166 268.8)

  • #006696

    #006696

    oklch(48.6% 0.11 239.2)

  • #6E42AF

    #6E42AF

    oklch(48.7% 0.167 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A54BC

    #3A54BC

    oklch(48.7% 0.166 268.8)

  • #8E4C00

    #8E4C00

    oklch(48.7% 0.115 58.8)

  • #596800

    #596800

    oklch(48.7% 0.115 119.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A54BC

    #3A54BC

    oklch(48.7% 0.166 268.8)

  • #A92920

    #A92920

    oklch(48.6% 0.166 28.8)

  • #00742F

    #00742F

    oklch(48.8% 0.138 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A54BC

    #3A54BC

    oklch(48.7% 0.166 268.8)

  • #A3275E

    #A3275E

    oklch(48.7% 0.166 358.6)

  • #765C00

    #765C00

    oklch(48.7% 0.1 89.5)

  • #007060

    #007060

    oklch(48.8% 0.09 178.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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