#2D5EC5

Closest named color: Mid Blue (#276AB3). oklch(50.8% 0.17 262.8), rgb(45, 94, 197).

Aa

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

About this color

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

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

Values

HEX#2D5EC5
RGBrgb(45, 94, 197)
HSLhsl(221, 63%, 47%)
OKLCHoklch(50.8% 0.17 262.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 #2D5EC5 5.96:1 AA Lc -84.6 Fine for body text
Black text on #2D5EC5 3.51:1 AA large text Lc 24.7 Dividers and decoration only
#2D5EC5 text on white 5.96:1 AA Lc 79.3 Fine for body text
#2D5EC5 text on black 3.51: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF8

    oklch(88.5% 0.045 261.9)

  4. Step 300

    300

    #A5C1F6

    oklch(80.9% 0.081 263)

  5. Step 400

    400

    #749FF2

    oklch(70.7% 0.131 262.7)

  6. Step 500

    500

    #5084EE

    oklch(63% 0.169 262.8)

  7. Step 600

    600

    #356BDC

    oklch(55.5% 0.183 262.7)

  8. Step 700

    700 (this color)

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  9. Step 800

    800

    #22499B

    oklch(42.7% 0.141 262.8)

  10. Step 900

    900

    #203E7B

    oklch(37.7% 0.11 262.6)

  11. Step 950

    950

    #132548

    oklch(27% 0.069 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D5EC5 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)#156BC90.034
Deuteranopia (no green cones)#005DC30.022
Tritanopia (no blue cones)#0077880.133
Achromatopsia (no color)#6363630.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5EC5

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  • #835F00

    #835F00

    oklch(50.9% 0.105 82.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5EC5

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  • #006F97

    #006F97

    oklch(50.9% 0.104 232.3)

  • #6C4BBC

    #6C4BBC

    oklch(50.8% 0.17 292.8)

Open the analogous palette in the generator

Split complementary

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

  • #2D5EC5

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  • #9D4C00

    #9D4C00

    oklch(50.9% 0.129 52.8)

  • #676C00

    #676C00

    oklch(51% 0.114 112.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5EC5

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  • #B22D34

    #B22D34

    oklch(50.8% 0.169 23)

  • #047C08

    #047C08

    oklch(50.9% 0.17 142.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5EC5

    #2D5EC5

    oklch(50.8% 0.17 262.8)

  • #A92E6E

    #A92E6E

    oklch(50.9% 0.169 353)

  • #835F00

    #835F00

    oklch(50.9% 0.105 82.7)

  • #007760

    #007760

    oklch(50.7% 0.097 173)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D5EC5 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.