#2D64B6

Closest named color: Mid Blue (#276AB3). oklch(51% 0.142 258.5), rgb(45, 100, 182).

Aa

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

About this color

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

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

Values

HEX#2D64B6
RGBrgb(45, 100, 182)
HSLhsl(216, 60%, 45%)
OKLCHoklch(51% 0.142 258.5)

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 #2D64B6 5.81:1 AA Lc -84.0 Fine for body text
Black text on #2D64B6 3.60:1 AA large text Lc 25.3 Dividers and decoration only
#2D64B6 text on white 5.81:1 AA Lc 78.7 Fine for body text
#2D64B6 text on black 3.60:1 AA large text Lc -23.1 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF8

    oklch(93.7% 0.02 257.5)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A6C2EE

    oklch(80.9% 0.07 259.3)

  5. Step 400

    400

    #75A2E5

    oklch(70.7% 0.11 258.1)

  6. Step 500

    500

    #5189DD

    oklch(63.1% 0.14 258.3)

  7. Step 600

    600

    #3571CB

    oklch(55.6% 0.153 258.5)

  8. Step 700

    700 (this color)

    #2D64B6

    oklch(51% 0.142 258.5)

  9. Step 800

    800

    #224D8E

    oklch(42.6% 0.118 258.6)

  10. Step 900

    900

    #214171

    oklch(37.7% 0.091 258.4)

  11. Step 950

    950

    #142642

    oklch(26.9% 0.058 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D64B6 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)#3A6CB90.027
Deuteranopia (no green cones)#1E5FB40.019
Tritanopia (no blue cones)#0077840.110
Achromatopsia (no color)#6565650.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D64B6

    #2D64B6

    oklch(51% 0.142 258.5)

  • #875D00

    #875D00

    oklch(51% 0.106 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D64B6

    #2D64B6

    oklch(51% 0.142 258.5)

  • #007093

    #007093

    oklch(50.9% 0.1 228.6)

  • #6554B2

    #6554B2

    oklch(51% 0.144 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #2D64B6

    #2D64B6

    oklch(51% 0.142 258.5)

  • #A24800

    #A24800

    oklch(51% 0.137 48.8)

  • #6C6A00

    #6C6A00

    oklch(50.9% 0.11 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D64B6

    #2D64B6

    oklch(51% 0.142 258.5)

  • #A83C46

    #A83C46

    oklch(51.1% 0.142 18.3)

  • #36781B

    #36781B

    oklch(51% 0.142 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D64B6

    #2D64B6

    oklch(51% 0.142 258.5)

  • #9E3D74

    #9E3D74

    oklch(51% 0.143 348.2)

  • #875D00

    #875D00

    oklch(51% 0.106 78)

  • #00795B

    #00795B

    oklch(51.2% 0.104 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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