#2A4EA2

Closest named color: Cobalt (#1E488F). oklch(44.7% 0.142 264), rgb(42, 78, 162).

Aa

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

About this color

#2A4EA2 is a dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.142 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.037 away. White text reads best on it, at 7.74:1.

Hue familyBlues
Lightnessdark (45%)
Chromavivid (0.142)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.70:1
White text7.74:1

Values

HEX#2A4EA2
RGBrgb(42, 78, 162)
HSLhsl(222, 59%, 40%)
OKLCHoklch(44.7% 0.142 264)

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 #2A4EA2 7.74:1 AAA Lc -91.3 Preferred for body text
Black text on #2A4EA2 2.70:1 Fails Lc 17.5 Dividers and decoration only
#2A4EA2 text on white 7.74:1 AAA Lc 86.5 Fine for body text
#2A4EA2 text on black 2.70:1 Fails Lc -15.6 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 800.

  1. Step 50

    50

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CADAF9

    oklch(88.6% 0.046 263.7)

  4. Step 300

    300

    #A5C1F7

    oklch(80.9% 0.083 263.3)

  5. Step 400

    400

    #769EF4

    oklch(70.7% 0.134 264.3)

  6. Step 500

    500

    #5383EF

    oklch(63% 0.17 264.1)

  7. Step 600

    600

    #396ADE

    oklch(55.6% 0.185 264)

  8. Step 700

    700

    #2C57C1

    oklch(49% 0.173 264.3)

  9. Step 800

    800 (this color)

    #2A4EA2

    oklch(44.7% 0.142 264)

  10. Step 900

    900

    #223D7C

    oklch(37.6% 0.112 264.3)

  11. Step 950

    950

    #142448

    oklch(26.8% 0.07 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A4EA2 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)#1958A50.027
Deuteranopia (no green cones)#004DA00.025
Tritanopia (no blue cones)#0062700.113
Achromatopsia (no color)#5353530.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4EA2

    #2A4EA2

    oklch(44.7% 0.142 264)

  • #6C4F00

    #6C4F00

    oklch(44.6% 0.092 84.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4EA2

    #2A4EA2

    oklch(44.7% 0.142 264)

  • #005C80

    #005C80

    oklch(44.7% 0.093 233.9)

  • #5B3F9A

    #5B3F9A

    oklch(44.7% 0.142 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A4EA2

    #2A4EA2

    oklch(44.7% 0.142 264)

  • #823F00

    #823F00

    oklch(44.6% 0.112 53.8)

  • #545A00

    #545A00

    oklch(44.7% 0.101 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4EA2

    #2A4EA2

    oklch(44.7% 0.142 264)

  • #93282A

    #93282A

    oklch(44.6% 0.143 24.1)

  • #046713

    #046713

    oklch(44.7% 0.143 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4EA2

    #2A4EA2

    oklch(44.7% 0.142 264)

  • #8C285A

    #8C285A

    oklch(44.7% 0.143 353.8)

  • #6C4F00

    #6C4F00

    oklch(44.6% 0.092 84.1)

  • #006351

    #006351

    oklch(44.6% 0.084 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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