#2B5877

Closest named color: YInMn Blue (#415A77). oklch(44.3% 0.071 241), rgb(43, 88, 119).

Aa

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

About this color

#2B5877 is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.071 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.026 away. White text reads best on it, at 7.59:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.76:1
White text7.59:1

Values

HEX#2B5877
RGBrgb(43, 88, 119)
HSLhsl(204, 47%, 32%)
OKLCHoklch(44.3% 0.071 241)

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 #2B5877 7.59:1 AAA Lc -91.0 Preferred for body text
Black text on #2B5877 2.76:1 Fails Lc 17.8 Dividers and decoration only
#2B5877 text on white 7.59:1 AAA Lc 86.2 Fine for body text
#2B5877 text on black 2.76:1 Fails Lc -15.8 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CCDBE7

    oklch(88.4% 0.023 241.9)

  4. Step 300

    300

    #AAC5D9

    oklch(81% 0.041 240.1)

  5. Step 400

    400

    #7BA6C7

    oklch(70.6% 0.067 241.9)

  6. Step 500

    500

    #5890B8

    oklch(63.1% 0.085 241)

  7. Step 600

    600

    #3B7AA4

    oklch(55.6% 0.092 240.4)

  8. Step 700

    700

    #2D668D

    oklch(49% 0.086 241.5)

  9. Step 800

    800 (this color)

    #2B5877

    oklch(44.3% 0.071 241)

  10. Step 900

    900

    #24455C

    oklch(37.6% 0.055 240.8)

  11. Step 950

    950

    #162936

    oklch(27.1% 0.035 239.7)

Export this scale for Tailwind in the Tailwind colors tool

#2B5877 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)#4A58780.037
Deuteranopia (no green cones)#4050760.031
Tritanopia (no blue cones)#0060630.053
Achromatopsia (no color)#5454540.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B5877

    #2B5877

    oklch(44.3% 0.071 241)

  • #704A27

    #704A27

    oklch(44.4% 0.072 61.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B5877

    #2B5877

    oklch(44.3% 0.071 241)

  • #125E6A

    #125E6A

    oklch(44.4% 0.071 211)

  • #45517B

    #45517B

    oklch(44.4% 0.071 271.1)

Open the analogous palette in the generator

Split complementary

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

  • #2B5877

    #2B5877

    oklch(44.3% 0.071 241)

  • #76443B

    #76443B

    oklch(44.4% 0.071 31)

  • #625220

    #625220

    oklch(44.4% 0.071 91.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B5877

    #2B5877

    oklch(44.3% 0.071 241)

  • #744251

    #744251

    oklch(44.4% 0.072 1.1)

  • #4D592A

    #4D592A

    oklch(44.2% 0.071 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B5877

    #2B5877

    oklch(44.3% 0.071 241)

  • #6A4465

    #6A4465

    oklch(44.2% 0.071 331.5)

  • #704A27

    #704A27

    oklch(44.4% 0.072 61.9)

  • #335E3F

    #335E3F

    oklch(44.1% 0.07 151.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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