#2B7798

Closest named color: Sea Blue (#047495). oklch(53.7% 0.089 230.5), rgb(43, 119, 152).

Aa

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

About this color

#2B7798 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.089 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Sea Blue (#047495), ΔE 0.020 away. White text reads best on it, at 5.00:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameSea Blue (#047495)
Black text4.19:1
White text5.00:1

Values

HEX#2B7798
RGBrgb(43, 119, 152)
HSLhsl(198, 56%, 38%)
OKLCHoklch(53.7% 0.089 230.5)

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 #2B7798 5.00:1 AA Lc -79.7 Fine for body text
Black text on #2B7798 4.19:1 AA large text Lc 29.7 Dividers and decoration only
#2B7798 text on white 5.00:1 AA Lc 74.3 Content text, not long reading
#2B7798 text on black 4.19:1 AA large text Lc -27.4 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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2EBF0

    oklch(93.5% 0.012 231.7)

  3. Step 200

    200

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A7C6D6

    oklch(80.9% 0.04 230.3)

  5. Step 400

    400

    #77A8C1

    oklch(70.6% 0.064 231)

  6. Step 500

    500

    #5193B2

    oklch(63.2% 0.082 230.3)

  7. Step 600

    600 (this color)

    #2B7798

    oklch(53.7% 0.089 230.5)

  8. Step 700

    700

    #236987

    oklch(49.1% 0.083 230.5)

  9. Step 800

    800

    #1F566E

    oklch(42.8% 0.069 230.3)

  10. Step 900

    900

    #204759

    oklch(37.8% 0.054 230.4)

  11. Step 950

    950

    #142A34

    oklch(27.2% 0.034 229.2)

Export this scale for Tailwind in the Tailwind colors tool

#2B7798 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)#66759A0.061
Deuteranopia (no green cones)#576B980.052
Tritanopia (no blue cones)#0080820.053
Achromatopsia (no color)#6F6F6F0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7798

    #2B7798

    oklch(53.7% 0.089 230.5)

  • #975E3C

    #975E3C

    oklch(53.8% 0.089 50.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7798

    #2B7798

    oklch(53.7% 0.089 230.5)

  • #0B7D83

    #0B7D83

    oklch(53.7% 0.089 200.9)

  • #4F6EA2

    #4F6EA2

    oklch(53.7% 0.09 260.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B7798

    #2B7798

    oklch(53.7% 0.089 230.5)

  • #9B5858

    #9B5858

    oklch(53.8% 0.089 20.4)

  • #89682A

    #89682A

    oklch(53.8% 0.089 80.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7798

    #2B7798

    oklch(53.7% 0.089 230.5)

  • #955775

    #955775

    oklch(53.7% 0.09 350.1)

  • #717230

    #717230

    oklch(53.7% 0.088 109.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7798

    #2B7798

    oklch(53.7% 0.089 230.5)

  • #855C8E

    #855C8E

    oklch(53.7% 0.09 320.2)

  • #975E3C

    #975E3C

    oklch(53.8% 0.089 50.8)

  • #507B48

    #507B48

    oklch(53.8% 0.091 140.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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