#3A5ECD

Closest named color: Warm Blue (#4B57DB). oklch(52% 0.177 266.6), rgb(58, 94, 205).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.66:1
White text5.73:1

Values

HEX#3A5ECD
RGBrgb(58, 94, 205)
HSLhsl(225, 60%, 52%)
OKLCHoklch(52% 0.177 266.6)

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 #3A5ECD 5.73:1 AA Lc -83.5 Fine for body text
Black text on #3A5ECD 3.66:1 AA large text Lc 25.8 Dividers and decoration only
#3A5ECD text on white 5.73:1 AA Lc 78.2 Fine for body text
#3A5ECD text on black 3.66:1 AA large text Lc -23.5 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

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CBD9FA

    oklch(88.5% 0.048 267.2)

  4. Step 300

    300

    #A7C0F9

    oklch(80.9% 0.086 266.1)

  5. Step 400

    400

    #799DF6

    oklch(70.8% 0.137 266.3)

  6. Step 500

    500

    #5981F2

    oklch(63.1% 0.175 266.7)

  7. Step 600

    600

    #4067E1

    oklch(55.5% 0.191 266.7)

  8. Step 700

    700 (this color)

    #3A5ECD

    oklch(52% 0.177 266.6)

  9. Step 800

    800

    #2A469E

    oklch(42.6% 0.147 266.7)

  10. Step 900

    900

    #263C7D

    oklch(37.7% 0.114 266.8)

  11. Step 950

    950

    #162449

    oklch(27% 0.071 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#3A5ECD 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)#006DD10.043
Deuteranopia (no green cones)#0060CB0.032
Tritanopia (no blue cones)#00798C0.142
Achromatopsia (no color)#6666660.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5ECD

    #3A5ECD

    oklch(52% 0.177 266.6)

  • #836400

    #836400

    oklch(52% 0.106 87.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5ECD

    #3A5ECD

    oklch(52% 0.177 266.6)

  • #0071A1

    #0071A1

    oklch(52% 0.113 236.7)

  • #754AC0

    #754AC0

    oklch(51.9% 0.177 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A5ECD

    #3A5ECD

    oklch(52% 0.177 266.6)

  • #9E5200

    #9E5200

    oklch(52.1% 0.127 56.5)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5ECD

    #3A5ECD

    oklch(52% 0.177 266.6)

  • #B92D2B

    #B92D2B

    oklch(51.9% 0.177 26.6)

  • #007F2A

    #007F2A

    oklch(51.9% 0.156 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5ECD

    #3A5ECD

    oklch(52% 0.177 266.6)

  • #B12C6B

    #B12C6B

    oklch(51.9% 0.177 356.5)

  • #836400

    #836400

    oklch(52% 0.106 87.3)

  • #007B67

    #007B67

    oklch(52.1% 0.097 176)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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