#3A5FBC

Closest named color: Mid Blue (#276AB3). oklch(50.9% 0.152 265.1), rgb(58, 95, 188).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.152)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.54:1
White text5.92:1

Values

HEX#3A5FBC
RGBrgb(58, 95, 188)
HSLhsl(223, 53%, 48%)
OKLCHoklch(50.9% 0.152 265.1)

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 #3A5FBC 5.92:1 AA Lc -84.5 Fine for body text
Black text on #3A5FBC 3.54:1 AA large text Lc 24.8 Dividers and decoration only
#3A5FBC text on white 5.92:1 AA Lc 79.3 Fine for body text
#3A5FBC text on black 3.54:1 AA large text Lc -22.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #AAC0F1

    oklch(80.8% 0.074 265.9)

  5. Step 400

    400

    #7C9FEA

    oklch(70.7% 0.117 264.5)

  6. Step 500

    500

    #5C85E4

    oklch(63.2% 0.15 264.9)

  7. Step 600

    600

    #436CD2

    oklch(55.6% 0.164 265)

  8. Step 700

    700 (this color)

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  9. Step 800

    800

    #2C4A93

    oklch(42.8% 0.125 264.8)

  10. Step 900

    900

    #273E75

    oklch(37.6% 0.098 265)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A5FBC 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)#2B6ABF0.029
Deuteranopia (no green cones)#005EBA0.034
Tritanopia (no blue cones)#0075840.125
Achromatopsia (no color)#6464640.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5FBC

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  • #816000

    #816000

    oklch(50.9% 0.104 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5FBC

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  • #006E9B

    #006E9B

    oklch(50.9% 0.109 235.7)

  • #6E4EB2

    #6E4EB2

    oklch(50.8% 0.153 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A5FBC

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  • #9B4E00

    #9B4E00

    oklch(50.9% 0.126 54.9)

  • #646D00

    #646D00

    oklch(50.9% 0.116 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5FBC

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  • #AC3836

    #AC3836

    oklch(51% 0.152 25.2)

  • #117B25

    #117B25

    oklch(50.9% 0.152 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5FBC

    #3A5FBC

    oklch(50.9% 0.152 265.1)

  • #A5376A

    #A5376A

    oklch(51% 0.153 355.3)

  • #816000

    #816000

    oklch(50.9% 0.104 85)

  • #007763

    #007763

    oklch(50.8% 0.095 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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