#2D7798

Closest named color: Sea Blue (#047495). oklch(53.8% 0.088 231), rgb(45, 119, 152).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameSea Blue (#047495)
Black text4.20:1
White text4.99:1

Values

HEX#2D7798
RGBrgb(45, 119, 152)
HSLhsl(199, 54%, 39%)
OKLCHoklch(53.8% 0.088 231)

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 #2D7798 4.99:1 AA Lc -79.7 Fine for body text
Black text on #2D7798 4.20:1 AA large text Lc 29.8 Dividers and decoration only
#2D7798 text on white 4.99:1 AA Lc 74.3 Content text, not long reading
#2D7798 text on black 4.20: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

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A8C6D6

    oklch(81% 0.039 231.2)

  5. Step 400

    400

    #77A8C1

    oklch(70.6% 0.064 231)

  6. Step 500

    500

    #5293B2

    oklch(63.2% 0.081 230.6)

  7. Step 600

    600 (this color)

    #2D7798

    oklch(53.8% 0.088 231)

  8. Step 700

    700

    #256987

    oklch(49.2% 0.082 231)

  9. Step 800

    800

    #21556D

    oklch(42.6% 0.068 231.4)

  10. Step 900

    900

    #214759

    oklch(37.8% 0.053 231)

  11. Step 950

    950

    #142934

    oklch(26.9% 0.034 232.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D7798 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.060
Deuteranopia (no green cones)#586B980.052
Tritanopia (no blue cones)#0080820.054
Achromatopsia (no color)#6F6F6F0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D7798

    #2D7798

    oklch(53.8% 0.088 231)

  • #975E3C

    #975E3C

    oklch(53.8% 0.089 50.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D7798

    #2D7798

    oklch(53.8% 0.088 231)

  • #107D83

    #107D83

    oklch(53.8% 0.088 201)

  • #506EA1

    #506EA1

    oklch(53.7% 0.088 260.6)

Open the analogous palette in the generator

Split complementary

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

  • #2D7798

    #2D7798

    oklch(53.8% 0.088 231)

  • #9B5858

    #9B5858

    oklch(53.8% 0.089 20.4)

  • #88682B

    #88682B

    oklch(53.7% 0.088 80.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D7798

    #2D7798

    oklch(53.8% 0.088 231)

  • #955874

    #955874

    oklch(53.8% 0.088 351.5)

  • #707331

    #707331

    oklch(53.8% 0.089 111.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D7798

    #2D7798

    oklch(53.8% 0.088 231)

  • #865D8D

    #865D8D

    oklch(53.9% 0.087 321.5)

  • #975E3C

    #975E3C

    oklch(53.8% 0.089 50.8)

  • #507B4A

    #507B4A

    oklch(53.8% 0.088 141.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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