#2D64CE

Closest named color: Royal Blue (#4169E1). oklch(52.8% 0.175 261.8), rgb(45, 100, 206).

Aa

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

About this color

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

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

Values

HEX#2D64CE
RGBrgb(45, 100, 206)
HSLhsl(220, 64%, 49%)
OKLCHoklch(52.8% 0.175 261.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 #2D64CE 5.48:1 AA Lc -82.2 Fine for body text
Black text on #2D64CE 3.82:1 AA large text Lc 27.2 Dividers and decoration only
#2D64CE text on white 5.48:1 AA Lc 76.9 Fine for body text
#2D64CE text on black 3.82:1 AA large text Lc -24.8 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF7

    oklch(88.5% 0.044 262.4)

  4. Step 300

    300

    #A5C1F4

    oklch(80.8% 0.079 262.3)

  5. Step 400

    400

    #75A0EF

    oklch(70.8% 0.126 261.9)

  6. Step 500

    500

    #5186E9

    oklch(63.2% 0.16 261.7)

  7. Step 600

    600 (this color)

    #2D64CE

    oklch(52.8% 0.175 261.8)

  8. Step 700

    700

    #285ABB

    oklch(49.1% 0.163 261.9)

  9. Step 800

    800

    #224A97

    oklch(42.6% 0.134 261.8)

  10. Step 900

    900

    #213F78

    oklch(37.7% 0.104 261.8)

  11. Step 950

    950

    #142546

    oklch(26.9% 0.066 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D64CE 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)#1C71D20.033
Deuteranopia (no green cones)#0062CC0.022
Tritanopia (no blue cones)#007E8F0.137
Achromatopsia (no color)#6969690.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D64CE

    #2D64CE

    oklch(52.8% 0.175 261.8)

  • #8A6300

    #8A6300

    oklch(52.6% 0.109 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D64CE

    #2D64CE

    oklch(52.8% 0.175 261.8)

  • #00759E

    #00759E

    oklch(52.8% 0.107 231.7)

  • #7050C6

    #7050C6

    oklch(52.7% 0.176 291.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D64CE

    #2D64CE

    oklch(52.8% 0.175 261.8)

  • #A64F00

    #A64F00

    oklch(52.7% 0.136 51.7)

  • #6E7100

    #6E7100

    oklch(52.8% 0.117 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D64CE

    #2D64CE

    oklch(52.8% 0.175 261.8)

  • #BB303A

    #BB303A

    oklch(52.8% 0.175 21.9)

  • #148204

    #148204

    oklch(52.8% 0.175 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D64CE

    #2D64CE

    oklch(52.8% 0.175 261.8)

  • #B03276

    #B03276

    oklch(52.7% 0.174 351.6)

  • #8A6300

    #8A6300

    oklch(52.6% 0.109 81.5)

  • #007E64

    #007E64

    oklch(52.8% 0.103 171.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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