#2A6786

Closest named color: Denim (#3B638C). oklch(48.8% 0.08 233.9), rgb(42, 103, 134).

Aa

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

About this color

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

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

Values

HEX#2A6786
RGBrgb(42, 103, 134)
HSLhsl(200, 52%, 35%)
OKLCHoklch(48.8% 0.08 233.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 #2A6786 6.20:1 AA Lc -85.9 Fine for body text
Black text on #2A6786 3.38:1 AA large text Lc 23.3 Dividers and decoration only
#2A6786 text on white 6.20:1 AA Lc 80.7 Fine for body text
#2A6786 text on black 3.38:1 AA large text Lc -21.1 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

    #CCDCE5

    oklch(88.5% 0.021 232.2)

  4. Step 300

    300

    #A9C5D6

    oklch(80.8% 0.039 234.6)

  5. Step 400

    400

    #7AA8C1

    oklch(70.8% 0.061 232.5)

  6. Step 500

    500

    #5692B2

    oklch(63.2% 0.079 233.2)

  7. Step 600

    600

    #397B9E

    oklch(55.5% 0.086 234.5)

  8. Step 700

    700 (this color)

    #2A6786

    oklch(48.8% 0.08 233.9)

  9. Step 800

    800

    #25556E

    oklch(42.8% 0.066 234)

  10. Step 900

    900

    #234659

    oklch(37.7% 0.052 234.2)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A6786 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.051
Deuteranopia (no green cones)#4B5D860.043
Tritanopia (no blue cones)#006F710.052
Achromatopsia (no color)#6161610.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6786

    #2A6786

    oklch(48.8% 0.08 233.9)

  • #835332

    #835332

    oklch(48.9% 0.08 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6786

    #2A6786

    oklch(48.8% 0.08 233.9)

  • #0F6D74

    #0F6D74

    oklch(48.9% 0.08 203)

  • #495F8D

    #495F8D

    oklch(48.8% 0.079 264.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A6786

    #2A6786

    oklch(48.8% 0.08 233.9)

  • #874D4A

    #874D4A

    oklch(48.8% 0.079 23.5)

  • #755C25

    #755C25

    oklch(48.9% 0.079 84.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6786

    #2A6786

    oklch(48.8% 0.08 233.9)

  • #834C63

    #834C63

    oklch(48.8% 0.08 353.9)

  • #5F652C

    #5F652C

    oklch(48.8% 0.08 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6786

    #2A6786

    oklch(48.8% 0.08 233.9)

  • #765079

    #765079

    oklch(48.8% 0.079 324.2)

  • #835332

    #835332

    oklch(48.9% 0.08 54.2)

  • #436C42

    #436C42

    oklch(48.9% 0.08 143.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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