#2C5A9D

Closest named color: Denim Blue (#3B5B92). oklch(47.1% 0.12 258), rgb(44, 90, 157).

Aa

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

About this color

#2C5A9D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.120 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.023 away. White text reads best on it, at 6.87:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.05:1
White text6.87:1

Values

HEX#2C5A9D
RGBrgb(44, 90, 157)
HSLhsl(216, 56%, 39%)
OKLCHoklch(47.1% 0.12 258)

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 #2C5A9D 6.87:1 AA Lc -88.4 Fine for body text
Black text on #2C5A9D 3.05:1 AA large text Lc 20.6 Dividers and decoration only
#2C5A9D text on white 6.87:1 AA Lc 83.4 Fine for body text
#2C5A9D text on black 3.05:1 AA large text Lc -18.5 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #AAC2E7

    oklch(80.9% 0.059 259)

  5. Step 400

    400

    #7CA2DA

    oklch(70.6% 0.093 257.9)

  6. Step 500

    500

    #5A8AD0

    oklch(63% 0.118 257.8)

  7. Step 600

    600

    #4073BE

    oklch(55.7% 0.129 258)

  8. Step 700

    700 (this color)

    #2C5A9D

    oklch(47.1% 0.12 258)

  9. Step 800

    800

    #2A4F84

    oklch(42.8% 0.098 257.6)

  10. Step 900

    900

    #26426A

    oklch(37.8% 0.077 257.4)

  11. Step 950

    950

    #17273E

    oklch(27.1% 0.048 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#2C5A9D 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)#3A60A00.024
Deuteranopia (no green cones)#27559C0.016
Tritanopia (no blue cones)#006A740.095
Achromatopsia (no color)#5A5A5A0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C5A9D

    #2C5A9D

    oklch(47.1% 0.12 258)

  • #795300

    #795300

    oklch(47.2% 0.098 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5A9D

    #2C5A9D

    oklch(47.1% 0.12 258)

  • #006483

    #006483

    oklch(47% 0.092 228)

  • #594D9A

    #594D9A

    oklch(47% 0.121 288)

Open the analogous palette in the generator

Split complementary

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

  • #2C5A9D

    #2C5A9D

    oklch(47.1% 0.12 258)

  • #8F420F

    #8F420F

    oklch(47.2% 0.12 48.2)

  • #615F00

    #615F00

    oklch(47.2% 0.102 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C5A9D

    #2C5A9D

    oklch(47.1% 0.12 258)

  • #923941

    #923941

    oklch(47% 0.12 17.6)

  • #356A20

    #356A20

    oklch(47.1% 0.12 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5A9D

    #2C5A9D

    oklch(47.1% 0.12 258)

  • #8A3B67

    #8A3B67

    oklch(47.2% 0.12 348.1)

  • #795300

    #795300

    oklch(47.2% 0.098 78.1)

  • #006C51

    #006C51

    oklch(47.2% 0.095 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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