#2A4EC2

Closest named color: Blue Blue (#2242C7). oklch(47.3% 0.186 266.1), rgb(42, 78, 194).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.186)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.96:1
White text7.07:1

Values

HEX#2A4EC2
RGBrgb(42, 78, 194)
HSLhsl(226, 64%, 46%)
OKLCHoklch(47.3% 0.186 266.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 #2A4EC2 7.07:1 AAA Lc -88.9 Fine for body text
Black text on #2A4EC2 2.96:1 Fails Lc 20.1 Dividers and decoration only
#2A4EC2 text on white 7.07:1 AAA Lc 83.9 Fine for body text
#2A4EC2 text on black 2.96:1 Fails Lc -18.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A5C0FC

    oklch(80.9% 0.09 265.7)

  5. Step 400

    400

    #769CFA

    oklch(70.6% 0.144 266.2)

  6. Step 500

    500

    #5580F7

    oklch(63% 0.184 266.3)

  7. Step 600

    600

    #3C66E6

    oklch(55.6% 0.2 266.2)

  8. Step 700

    700 (this color)

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  9. Step 800

    800

    #2745A2

    oklch(42.6% 0.155 266.3)

  10. Step 900

    900

    #233C80

    oklch(37.7% 0.119 265.7)

  11. Step 950

    950

    #15244B

    oklch(27.1% 0.075 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4EC2 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)#0060C60.044
Deuteranopia (no green cones)#0051C00.022
Tritanopia (no blue cones)#006C800.147
Achromatopsia (no color)#5858580.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4EC2

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  • #745700

    #745700

    oklch(47.4% 0.097 86.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4EC2

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  • #00638D

    #00638D

    oklch(47.3% 0.102 236.3)

  • #6839B5

    #6839B5

    oklch(47.2% 0.185 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A4EC2

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  • #8B4700

    #8B4700

    oklch(47.3% 0.116 56.2)

  • #596200

    #596200

    oklch(47.2% 0.108 115.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4EC2

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  • #AC0D19

    #AC0D19

    oklch(47.3% 0.186 26.1)

  • #006F21

    #006F21

    oklch(47.1% 0.144 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4EC2

    #2A4EC2

    oklch(47.3% 0.186 266.1)

  • #A40E5F

    #A40E5F

    oklch(47.3% 0.186 356)

  • #745700

    #745700

    oklch(47.4% 0.097 86.1)

  • #006B5A

    #006B5A

    oklch(47.2% 0.088 176.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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