#2C51AE

Closest named color: Blue Blue (#2242C7). oklch(46.3% 0.155 264.7), rgb(44, 81, 174).

Aa

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

About this color

#2C51AE is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.155 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.055 away. White text reads best on it, at 7.25:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.155)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.89:1
White text7.25:1

Values

HEX#2C51AE
RGBrgb(44, 81, 174)
HSLhsl(223, 60%, 43%)
OKLCHoklch(46.3% 0.155 264.7)

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 #2C51AE 7.25:1 AAA Lc -89.7 Fine for body text
Black text on #2C51AE 2.89:1 Fails Lc 19.3 Dividers and decoration only
#2C51AE text on white 7.25:1 AAA Lc 84.7 Fine for body text
#2C51AE text on black 2.89:1 Fails Lc -17.3 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400

    #7B9FEC

    oklch(70.8% 0.12 264.4)

  6. Step 500

    500

    #5A85E5

    oklch(63.1% 0.152 264.3)

  7. Step 600

    600

    #416CD3

    oklch(55.6% 0.166 264.6)

  8. Step 700

    700 (this color)

    #2C51AE

    oklch(46.3% 0.155 264.7)

  9. Step 800

    800

    #2B4A94

    oklch(42.8% 0.127 264.5)

  10. Step 900

    900

    #263E76

    oklch(37.6% 0.1 264.6)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#2C51AE 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)#0C5DB10.033
Deuteranopia (no green cones)#0051AC0.025
Tritanopia (no blue cones)#0068770.124
Achromatopsia (no color)#5757570.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C51AE

    #2C51AE

    oklch(46.3% 0.155 264.7)

  • #715400

    #715400

    oklch(46.4% 0.095 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C51AE

    #2C51AE

    oklch(46.3% 0.155 264.7)

  • #006187

    #006187

    oklch(46.4% 0.097 234.1)

  • #6140A5

    #6140A5

    oklch(46.3% 0.156 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #2C51AE

    #2C51AE

    oklch(46.3% 0.155 264.7)

  • #884400

    #884400

    oklch(46.4% 0.115 55.2)

  • #585F00

    #585F00

    oklch(46.3% 0.105 114.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C51AE

    #2C51AE

    oklch(46.3% 0.155 264.7)

  • #9D2729

    #9D2729

    oklch(46.3% 0.154 24.8)

  • #006D17

    #006D17

    oklch(46.5% 0.148 144.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C51AE

    #2C51AE

    oklch(46.3% 0.155 264.7)

  • #96265E

    #96265E

    oklch(46.3% 0.156 354.5)

  • #715400

    #715400

    oklch(46.4% 0.095 85.4)

  • #006856

    #006856

    oklch(46.2% 0.087 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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