#2D6786

Closest named color: Denim (#3B638C). oklch(48.9% 0.078 234.9), rgb(45, 103, 134).

Aa

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

About this color

#2D6786 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.078 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.021 away. White text reads best on it, at 6.18:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.39:1
White text6.18:1

Values

HEX#2D6786
RGBrgb(45, 103, 134)
HSLhsl(201, 50%, 35%)
OKLCHoklch(48.9% 0.078 234.9)

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 #2D6786 6.18:1 AA Lc -85.8 Fine for body text
Black text on #2D6786 3.39:1 AA large text Lc 23.4 Dividers and decoration only
#2D6786 text on white 6.18:1 AA Lc 80.6 Fine for body text
#2D6786 text on black 3.39:1 AA large text Lc -21.2 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CDDCE5

    oklch(88.6% 0.02 233.9)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C1

    oklch(70.7% 0.06 235.3)

  6. Step 500

    500

    #5891B2

    oklch(63% 0.078 235.3)

  7. Step 600

    600

    #3C7B9D

    oklch(55.6% 0.084 234.6)

  8. Step 700

    700 (this color)

    #2D6786

    oklch(48.9% 0.078 234.9)

  9. Step 800

    800

    #27556D

    oklch(42.8% 0.064 233.8)

  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

#2D6786 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)#5866870.048
Deuteranopia (no green cones)#4C5D860.042
Tritanopia (no blue cones)#006F710.053
Achromatopsia (no color)#6161610.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D6786

    #2D6786

    oklch(48.9% 0.078 234.9)

  • #825433

    #825433

    oklch(49% 0.078 55.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D6786

    #2D6786

    oklch(48.9% 0.078 234.9)

  • #146D75

    #146D75

    oklch(49% 0.078 204.4)

  • #4A5F8D

    #4A5F8D

    oklch(48.9% 0.079 264.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D6786

    #2D6786

    oklch(48.9% 0.078 234.9)

  • #874E4A

    #874E4A

    oklch(48.9% 0.078 24.6)

  • #755C27

    #755C27

    oklch(48.9% 0.078 83.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D6786

    #2D6786

    oklch(48.9% 0.078 234.9)

  • #834D62

    #834D62

    oklch(48.9% 0.078 355.5)

  • #5F652E

    #5F652E

    oklch(48.8% 0.078 114.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D6786

    #2D6786

    oklch(48.9% 0.078 234.9)

  • #775079

    #775079

    oklch(48.9% 0.079 325)

  • #825433

    #825433

    oklch(49% 0.078 55.5)

  • #436C44

    #436C44

    oklch(49% 0.078 144.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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