#2B5872

Closest named color: YInMn Blue (#415A77). oklch(44% 0.066 236.2), rgb(43, 88, 114).

Aa

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

About this color

#2B5872 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.066 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.028 away. White text reads best on it, at 7.65:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.066)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.74:1
White text7.65:1

Values

HEX#2B5872
RGBrgb(43, 88, 114)
HSLhsl(202, 45%, 31%)
OKLCHoklch(44% 0.066 236.2)

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 #2B5872 7.65:1 AAA Lc -91.2 Preferred for body text
Black text on #2B5872 2.74:1 Fails Lc 17.6 Dividers and decoration only
#2B5872 text on white 7.65:1 AAA Lc 86.5 Fine for body text
#2B5872 text on black 2.74: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE6

    oklch(88.6% 0.021 236.8)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C2

    oklch(70.7% 0.061 236.3)

  6. Step 500

    500

    #5991B3

    oklch(63.1% 0.078 236.5)

  7. Step 600

    600

    #3C7B9F

    oklch(55.7% 0.086 236.2)

  8. Step 700

    700

    #2E6788

    oklch(49.1% 0.08 236.9)

  9. Step 800

    800 (this color)

    #2B5872

    oklch(44% 0.066 236.2)

  10. Step 900

    900

    #254659

    oklch(37.8% 0.051 235.5)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#2B5872 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)#4C57730.040
Deuteranopia (no green cones)#4250720.034
Tritanopia (no blue cones)#005F610.048
Achromatopsia (no color)#5353530.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B5872

    #2B5872

    oklch(44% 0.066 236.2)

  • #6E492D

    #6E492D

    oklch(44% 0.065 57.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B5872

    #2B5872

    oklch(44% 0.066 236.2)

  • #1A5D64

    #1A5D64

    oklch(44.1% 0.066 205.2)

  • #425277

    #425277

    oklch(44.2% 0.065 265.9)

Open the analogous palette in the generator

Split complementary

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

  • #2B5872

    #2B5872

    oklch(44% 0.066 236.2)

  • #73443F

    #73443F

    oklch(44.1% 0.066 26.6)

  • #635025

    #635025

    oklch(44.1% 0.065 85.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B5872

    #2B5872

    oklch(44% 0.066 236.2)

  • #6F4354

    #6F4354

    oklch(44% 0.065 355.4)

  • #50572B

    #50572B

    oklch(43.9% 0.066 116.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B5872

    #2B5872

    oklch(44% 0.066 236.2)

  • #664666

    #664666

    oklch(44.2% 0.065 326.6)

  • #6E492D

    #6E492D

    oklch(44% 0.065 57.2)

  • #3A5C3D

    #3A5C3D

    oklch(43.9% 0.064 146.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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