#2B64C4

Closest named color: Mid Blue (#276AB3). oklch(52% 0.162 260.2), rgb(43, 100, 196).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.162)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.72:1
White text5.64:1

Values

HEX#2B64C4
RGBrgb(43, 100, 196)
HSLhsl(218, 64%, 47%)
OKLCHoklch(52% 0.162 260.2)

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 #2B64C4 5.64:1 AA Lc -83.0 Fine for body text
Black text on #2B64C4 3.72:1 AA large text Lc 26.3 Dividers and decoration only
#2B64C4 text on white 5.64:1 AA Lc 77.7 Fine for body text
#2B64C4 text on black 3.72:1 AA large text Lc -24.0 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

    #E1EAF9

    oklch(93.5% 0.023 260.7)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C2F4

    oklch(81% 0.078 260.5)

  5. Step 400

    400

    #72A1EE

    oklch(70.8% 0.124 259.9)

  6. Step 500

    500

    #4D87E9

    oklch(63.2% 0.16 260.2)

  7. Step 600

    600

    #306ED7

    oklch(55.6% 0.174 260.3)

  8. Step 700

    700 (this color)

    #2B64C4

    oklch(52% 0.162 260.2)

  9. Step 800

    800

    #1E4B97

    oklch(42.7% 0.134 260.3)

  10. Step 900

    900

    #1E3F78

    oklch(37.6% 0.105 260.5)

  11. Step 950

    950

    #122646

    oklch(27.1% 0.065 259.4)

Export this scale for Tailwind in the Tailwind colors tool

#2B64C4 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)#2C6FC80.030
Deuteranopia (no green cones)#0061C20.022
Tritanopia (no blue cones)#007B8A0.126
Achromatopsia (no color)#6767670.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B64C4

    #2B64C4

    oklch(52% 0.162 260.2)

  • #896100

    #896100

    oklch(52.1% 0.108 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B64C4

    #2B64C4

    oklch(52% 0.162 260.2)

  • #007399

    #007399

    oklch(52% 0.104 230.1)

  • #6B52BD

    #6B52BD

    oklch(52% 0.161 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B64C4

    #2B64C4

    oklch(52% 0.162 260.2)

  • #A44C00

    #A44C00

    oklch(52% 0.136 50.6)

  • #6D6E00

    #6D6E00

    oklch(52% 0.114 110.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B64C4

    #2B64C4

    oklch(52% 0.162 260.2)

  • #B33540

    #B33540

    oklch(52% 0.162 20.1)

  • #277E0D

    #277E0D

    oklch(52.1% 0.162 140.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B64C4

    #2B64C4

    oklch(52% 0.162 260.2)

  • #A93775

    #A93775

    oklch(52.1% 0.161 350.6)

  • #896100

    #896100

    oklch(52.1% 0.108 80.4)

  • #007B60

    #007B60

    oklch(51.9% 0.102 170.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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