#2A4C9D

Closest named color: Cobalt (#1E488F). oklch(43.8% 0.138 264.3), rgb(42, 76, 157).

Aa

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

About this color

#2A4C9D is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.138 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.028 away. White text reads best on it, at 8.01:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.61:1
White text8.01:1

Values

HEX#2A4C9D
RGBrgb(42, 76, 157)
HSLhsl(222, 58%, 39%)
OKLCHoklch(43.8% 0.138 264.3)

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 #2A4C9D 8.01:1 AAA Lc -92.1 Preferred for body text
Black text on #2A4C9D 2.61:1 Fails Lc 16.6 Dividers and decoration only
#2A4C9D text on white 8.01:1 AAA Lc 87.4 Fine for body text
#2A4C9D text on black 2.61:1 Fails Lc -14.7 Not readable

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

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CAD9F8

    oklch(88.4% 0.046 264.9)

  4. Step 300

    300

    #A7C1F6

    oklch(81% 0.081 264.3)

  5. Step 400

    400

    #789EF1

    oklch(70.6% 0.129 264.6)

  6. Step 500

    500

    #5684EC

    oklch(63.2% 0.164 264.3)

  7. Step 600

    600

    #3C6BDA

    oklch(55.7% 0.178 264.2)

  8. Step 700

    700

    #2F58BE

    oklch(49.1% 0.167 264.5)

  9. Step 800

    800 (this color)

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  10. Step 900

    900

    #243E7A

    oklch(37.8% 0.107 264.3)

  11. Step 950

    950

    #152547

    oklch(27.1% 0.067 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A4C9D 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)#1A56A00.027
Deuteranopia (no green cones)#004B9B0.026
Tritanopia (no blue cones)#005F6D0.110
Achromatopsia (no color)#5050500.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4C9D

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  • #694D00

    #694D00

    oklch(43.8% 0.09 84.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4C9D

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  • #00597D

    #00597D

    oklch(43.8% 0.092 234.7)

  • #593D95

    #593D95

    oklch(43.8% 0.139 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A4C9D

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  • #7F3E00

    #7F3E00

    oklch(43.9% 0.11 54.3)

  • #525800

    #525800

    oklch(44% 0.099 114.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4C9D

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  • #8F2829

    #8F2829

    oklch(43.9% 0.138 24.4)

  • #056415

    #056415

    oklch(43.8% 0.138 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4C9D

    #2A4C9D

    oklch(43.8% 0.138 264.3)

  • #882857

    #882857

    oklch(43.9% 0.138 354.2)

  • #694D00

    #694D00

    oklch(43.8% 0.09 84.4)

  • #00614F

    #00614F

    oklch(44% 0.083 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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