#3A56C2

Closest named color: Warm Blue (#4B57DB). oklch(49.5% 0.172 268.4), rgb(58, 86, 194).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.172)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.29:1
White text6.38:1

Values

HEX#3A56C2
RGBrgb(58, 86, 194)
HSLhsl(228, 54%, 49%)
OKLCHoklch(49.5% 0.172 268.4)

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 #3A56C2 6.38:1 AA Lc -86.4 Fine for body text
Black text on #3A56C2 3.29:1 AA large text Lc 22.8 Dividers and decoration only
#3A56C2 text on white 6.38:1 AA Lc 81.3 Fine for body text
#3A56C2 text on black 3.29:1 AA large text Lc -20.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

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CCD9F9

    oklch(88.6% 0.046 267.9)

  4. Step 300

    300

    #AABFF7

    oklch(80.9% 0.083 268.6)

  5. Step 400

    400

    #7E9CF4

    oklch(70.8% 0.134 268.6)

  6. Step 500

    500

    #5F80EF

    oklch(63% 0.17 268.7)

  7. Step 600

    600

    #4767DE

    oklch(55.7% 0.185 268.4)

  8. Step 700

    700 (this color)

    #3A56C2

    oklch(49.5% 0.172 268.4)

  9. Step 800

    800

    #2F469C

    oklch(42.7% 0.143 268.4)

  10. Step 900

    900

    #293C7C

    oklch(37.8% 0.111 268.3)

  11. Step 950

    950

    #182448

    oklch(27.1% 0.069 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A56C2 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)#0066C60.046
Deuteranopia (no green cones)#0059C00.035
Tritanopia (no blue cones)#0070830.139
Achromatopsia (no color)#5F5F5F0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A56C2

    #3A56C2

    oklch(49.5% 0.172 268.4)

  • #7A5E00

    #7A5E00

    oklch(49.6% 0.101 88.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A56C2

    #3A56C2

    oklch(49.5% 0.172 268.4)

  • #006999

    #006999

    oklch(49.5% 0.111 238.5)

  • #7143B4

    #7143B4

    oklch(49.5% 0.172 298.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A56C2

    #3A56C2

    oklch(49.5% 0.172 268.4)

  • #924E00

    #924E00

    oklch(49.6% 0.118 58.6)

  • #5C6A00

    #5C6A00

    oklch(49.5% 0.116 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A56C2

    #3A56C2

    oklch(49.5% 0.172 268.4)

  • #AF2821

    #AF2821

    oklch(49.6% 0.173 28.3)

  • #00772E

    #00772E

    oklch(49.7% 0.143 148.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A56C2

    #3A56C2

    oklch(49.5% 0.172 268.4)

  • #A82661

    #A82661

    oklch(49.6% 0.172 358.3)

  • #7A5E00

    #7A5E00

    oklch(49.6% 0.101 88.3)

  • #007262

    #007262

    oklch(49.4% 0.091 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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