#3A5FBF

Closest named color: Mid Blue (#276AB3). oklch(51.1% 0.157 265.4), rgb(58, 95, 191).

Aa

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

About this color

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

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

Values

HEX#3A5FBF
RGBrgb(58, 95, 191)
HSLhsl(223, 53%, 49%)
OKLCHoklch(51.1% 0.157 265.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 #3A5FBF 5.88:1 AA Lc -84.3 Fine for body text
Black text on #3A5FBF 3.56:1 AA large text Lc 25.0 Dividers and decoration only
#3A5FBF text on white 5.88:1 AA Lc 79.1 Fine for body text
#3A5FBF text on black 3.56:1 AA large text Lc -22.7 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

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #A9C0F3

    oklch(80.8% 0.077 265.8)

  5. Step 400

    400

    #7C9EEC

    oklch(70.6% 0.121 265.5)

  6. Step 500

    500

    #5B84E6

    oklch(63% 0.154 265.2)

  7. Step 600

    600

    #426BD5

    oklch(55.6% 0.169 265.3)

  8. Step 700

    700 (this color)

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  9. Step 800

    800

    #2C4995

    oklch(42.7% 0.13 265.5)

  10. Step 900

    900

    #273E77

    oklch(37.7% 0.101 265.3)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#3A5FBF 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)#276BC20.032
Deuteranopia (no green cones)#005FBD0.033
Tritanopia (no blue cones)#0076860.127
Achromatopsia (no color)#6464640.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A5FBF

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  • #826100

    #826100

    oklch(51.2% 0.105 85.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A5FBF

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  • #006F9C

    #006F9C

    oklch(51.2% 0.109 235.4)

  • #6F4EB5

    #6F4EB5

    oklch(51.1% 0.157 295)

Open the analogous palette in the generator

Split complementary

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

  • #3A5FBF

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  • #9B4F00

    #9B4F00

    oklch(51.1% 0.126 55.6)

  • #646E00

    #646E00

    oklch(51.2% 0.117 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A5FBF

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  • #AE3634

    #AE3634

    oklch(51% 0.157 25.4)

  • #077C23

    #077C23

    oklch(51.1% 0.156 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A5FBF

    #3A5FBF

    oklch(51.1% 0.157 265.4)

  • #A7356A

    #A7356A

    oklch(51.1% 0.157 355.5)

  • #826100

    #826100

    oklch(51.2% 0.105 85.3)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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