#2A64CD

Closest named color: Royal Blue (#4169E1). oklch(52.6% 0.174 261.1), rgb(42, 100, 205).

Aa

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

About this color

#2A64CD is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.174 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.040 away. White text reads best on it, at 5.52:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.174)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.80:1
White text5.52:1

Values

HEX#2A64CD
RGBrgb(42, 100, 205)
HSLhsl(219, 66%, 48%)
OKLCHoklch(52.6% 0.174 261.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 #2A64CD 5.52:1 AA Lc -82.4 Fine for body text
Black text on #2A64CD 3.80:1 AA large text Lc 27.0 Dividers and decoration only
#2A64CD text on white 5.52:1 AA Lc 77.1 Fine for body text
#2A64CD text on black 3.80:1 AA large text Lc -24.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 600.

  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

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C2F4

    oklch(81% 0.078 260.5)

  5. Step 400

    400

    #73A0EE

    oklch(70.6% 0.125 260.9)

  6. Step 500

    500

    #4F86E9

    oklch(63.1% 0.16 261.2)

  7. Step 600

    600 (this color)

    #2A64CD

    oklch(52.6% 0.174 261.1)

  8. Step 700

    700

    #265BBB

    oklch(49.2% 0.162 261.1)

  9. Step 800

    800

    #214B97

    oklch(42.8% 0.133 261.1)

  10. Step 900

    900

    #1F3F78

    oklch(37.6% 0.105 261)

  11. Step 950

    950

    #132546

    oklch(26.9% 0.066 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A64CD 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)#1D70D10.031
Deuteranopia (no green cones)#0062CB0.020
Tritanopia (no blue cones)#007E8F0.136
Achromatopsia (no color)#6969690.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A64CD

    #2A64CD

    oklch(52.6% 0.174 261.1)

  • #8A6300

    #8A6300

    oklch(52.6% 0.109 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A64CD

    #2A64CD

    oklch(52.6% 0.174 261.1)

  • #00749C

    #00749C

    oklch(52.4% 0.106 231.3)

  • #6F50C5

    #6F50C5

    oklch(52.6% 0.174 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A64CD

    #2A64CD

    oklch(52.6% 0.174 261.1)

  • #A64E00

    #A64E00

    oklch(52.6% 0.137 51.1)

  • #6E7000

    #6E7000

    oklch(52.6% 0.116 111)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A64CD

    #2A64CD

    oklch(52.6% 0.174 261.1)

  • #BA303C

    #BA303C

    oklch(52.6% 0.174 21.1)

  • #1A8100

    #1A8100

    oklch(52.6% 0.173 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A64CD

    #2A64CD

    oklch(52.6% 0.174 261.1)

  • #AF3277

    #AF3277

    oklch(52.6% 0.174 350.8)

  • #8A6300

    #8A6300

    oklch(52.6% 0.109 81.5)

  • #007D63

    #007D63

    oklch(52.5% 0.102 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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