#3166A5

Closest named color: Mid Blue (#276AB3). oklch(50.6% 0.116 254.3), rgb(49, 102, 165).

Aa

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

About this color

#3166A5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.116 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.023 away. White text reads best on it, at 5.87:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.57:1
White text5.87:1

Values

HEX#3166A5
RGBrgb(49, 102, 165)
HSLhsl(213, 54%, 42%)
OKLCHoklch(50.6% 0.116 254.3)

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 #3166A5 5.87:1 AA Lc -84.3 Fine for body text
Black text on #3166A5 3.57:1 AA large text Lc 25.0 Dividers and decoration only
#3166A5 text on white 5.87:1 AA Lc 79.1 Fine for body text
#3166A5 text on black 3.57:1 AA large text Lc -22.7 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CCDBEE

    oklch(88.6% 0.031 254.3)

  4. Step 300

    300

    #A8C3E5

    oklch(80.9% 0.057 254.3)

  5. Step 400

    400

    #7AA4D8

    oklch(70.8% 0.089 254.2)

  6. Step 500

    500

    #578CCD

    oklch(63.1% 0.114 254.3)

  7. Step 600

    600

    #3B75BA

    oklch(55.7% 0.124 254.2)

  8. Step 700

    700 (this color)

    #3166A5

    oklch(50.6% 0.116 254.3)

  9. Step 800

    800

    #265082

    oklch(42.7% 0.096 254.3)

  10. Step 900

    900

    #244368

    oklch(37.8% 0.074 253.9)

  11. Step 950

    950

    #16273D

    oklch(27% 0.047 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#3166A5 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)#496AA80.029
Deuteranopia (no green cones)#3860A40.017
Tritanopia (no blue cones)#00757D0.091
Achromatopsia (no color)#6464640.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #3166A5

    #3166A5

    oklch(50.6% 0.116 254.3)

  • #885A00

    #885A00

    oklch(50.5% 0.107 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3166A5

    #3166A5

    oklch(50.6% 0.116 254.3)

  • #00708D

    #00708D

    oklch(50.6% 0.095 223.9)

  • #5E5AA4

    #5E5AA4

    oklch(50.6% 0.115 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #3166A5

    #3166A5

    oklch(50.6% 0.116 254.3)

  • #994C27

    #994C27

    oklch(50.5% 0.115 44.6)

  • #6F6700

    #6F6700

    oklch(50.5% 0.107 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3166A5

    #3166A5

    oklch(50.6% 0.116 254.3)

  • #9B4550

    #9B4550

    oklch(50.5% 0.115 14.3)

  • #477328

    #477328

    oklch(50.6% 0.116 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3166A5

    #3166A5

    oklch(50.6% 0.116 254.3)

  • #914775

    #914775

    oklch(50.6% 0.115 343.9)

  • #885A00

    #885A00

    oklch(50.5% 0.107 74.6)

  • #007754

    #007754

    oklch(50.4% 0.107 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3166A5 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.