#2D5F8A

Closest named color: Light Navy Blue (#2E5A88). oklch(47.1% 0.088 247), rgb(45, 95, 138).

Aa

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

About this color

#2D5F8A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.088 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.015 away. White text reads best on it, at 6.74:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text3.11:1
White text6.74:1

Values

HEX#2D5F8A
RGBrgb(45, 95, 138)
HSLhsl(208, 51%, 36%)
OKLCHoklch(47.1% 0.088 247)

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 #2D5F8A 6.74:1 AA Lc -88.0 Fine for body text
Black text on #2D5F8A 3.11:1 AA large text Lc 21.0 Dividers and decoration only
#2D5F8A text on white 6.74:1 AA Lc 83.0 Fine for body text
#2D5F8A text on black 3.11:1 AA large text Lc -18.9 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #ABC4DB

    oklch(80.9% 0.042 246.1)

  5. Step 400

    400

    #7EA5C9

    oklch(70.7% 0.068 246.8)

  6. Step 500

    500

    #5C8EBC

    oklch(63% 0.088 247.4)

  7. Step 600

    600

    #4178A8

    oklch(55.6% 0.095 246.9)

  8. Step 700

    700 (this color)

    #2D5F8A

    oklch(47.1% 0.088 247)

  9. Step 800

    800

    #2B5275

    oklch(42.7% 0.073 247.5)

  10. Step 900

    900

    #27445E

    oklch(37.6% 0.057 247)

  11. Step 950

    950

    #172837

    oklch(26.9% 0.036 246.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D5F8A 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)#4C608C0.035
Deuteranopia (no green cones)#3F57890.028
Tritanopia (no blue cones)#00696E0.067
Achromatopsia (no color)#5B5B5B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5F8A

    #2D5F8A

    oklch(47.1% 0.088 247)

  • #7C501C

    #7C501C

    oklch(47.1% 0.089 66.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5F8A

    #2D5F8A

    oklch(47.1% 0.088 247)

  • #00667A

    #00667A

    oklch(47.1% 0.084 217.4)

  • #4F568C

    #4F568C

    oklch(47.2% 0.088 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D5F8A

    #2D5F8A

    oklch(47.1% 0.088 247)

  • #854836

    #854836

    oklch(47.2% 0.088 37.3)

  • #695B14

    #695B14

    oklch(47.1% 0.088 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5F8A

    #2D5F8A

    oklch(47.1% 0.088 247)

  • #844453

    #844453

    oklch(47% 0.089 6.1)

  • #4E642A

    #4E642A

    oklch(47.1% 0.088 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5F8A

    #2D5F8A

    oklch(47.1% 0.088 247)

  • #7A476D

    #7A476D

    oklch(47.1% 0.087 337)

  • #7C501C

    #7C501C

    oklch(47.1% 0.089 66.7)

  • #286A47

    #286A47

    oklch(47.2% 0.088 157.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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