#2C64CE

Closest named color: Royal Blue (#4169E1). oklch(52.7% 0.175 261.6), rgb(44, 100, 206).

Aa

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

About this color

#2C64CE 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.49:1.

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

Values

HEX#2C64CE
RGBrgb(44, 100, 206)
HSLhsl(219, 65%, 49%)
OKLCHoklch(52.7% 0.175 261.6)

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 #2C64CE 5.49:1 AA Lc -82.3 Fine for body text
Black text on #2C64CE 3.82:1 AA large text Lc 27.1 Dividers and decoration only
#2C64CE text on white 5.49:1 AA Lc 76.9 Fine for body text
#2C64CE 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

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A5C1F4

    oklch(80.8% 0.079 262.3)

  5. Step 400

    400

    #74A0EF

    oklch(70.7% 0.126 261.5)

  6. Step 500

    500

    #5086EA

    oklch(63.2% 0.161 261.6)

  7. Step 600

    600 (this color)

    #2C64CE

    oklch(52.7% 0.175 261.6)

  8. Step 700

    700

    #275ABB

    oklch(49% 0.163 261.7)

  9. Step 800

    800

    #224A97

    oklch(42.6% 0.134 261.8)

  10. Step 900

    900

    #203F78

    oklch(37.7% 0.104 261.4)

  11. Step 950

    950

    #132547

    oklch(26.9% 0.068 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#2C64CE 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.021
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°).

  • #2C64CE

    #2C64CE

    oklch(52.7% 0.175 261.6)

  • #8A6300

    #8A6300

    oklch(52.6% 0.109 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C64CE

    #2C64CE

    oklch(52.7% 0.175 261.6)

  • #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°).

  • #2C64CE

    #2C64CE

    oklch(52.7% 0.175 261.6)

  • #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.

  • #2C64CE

    #2C64CE

    oklch(52.7% 0.175 261.6)

  • #BB303B

    #BB303B

    oklch(52.8% 0.175 21.6)

  • #158202

    #158202

    oklch(52.8% 0.175 141.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C64CE

    #2C64CE

    oklch(52.7% 0.175 261.6)

  • #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 #2C64CE, closest first.

Similar named colors

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

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