#3161BE

Closest named color: Mid Blue (#276AB3). oklch(51.1% 0.156 262), rgb(49, 97, 190).

Aa

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

About this color

#3161BE is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.156 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.032 away. White text reads best on it, at 5.85:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.156)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.58:1
White text5.85:1

Values

HEX#3161BE
RGBrgb(49, 97, 190)
HSLhsl(220, 59%, 47%)
OKLCHoklch(51.1% 0.156 262)

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 #3161BE 5.85:1 AA Lc -84.2 Fine for body text
Black text on #3161BE 3.58:1 AA large text Lc 25.2 Dividers and decoration only
#3161BE text on white 5.85:1 AA Lc 78.9 Fine for body text
#3161BE text on black 3.58:1 AA large text Lc -22.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF6

    oklch(88.5% 0.042 261.7)

  4. Step 300

    300

    #A6C1F2

    oklch(80.8% 0.076 262.2)

  5. Step 400

    400

    #77A0EC

    oklch(70.8% 0.121 262.1)

  6. Step 500

    500

    #5486E6

    oklch(63.1% 0.155 262.2)

  7. Step 600

    600

    #396ED4

    oklch(55.7% 0.167 261.9)

  8. Step 700

    700 (this color)

    #3161BE

    oklch(51.1% 0.156 262)

  9. Step 800

    800

    #254B94

    oklch(42.7% 0.128 261.9)

  10. Step 900

    900

    #223F76

    oklch(37.6% 0.1 261.9)

  11. Step 950

    950

    #152545

    oklch(26.9% 0.064 262.8)

Export this scale for Tailwind in the Tailwind colors tool

#3161BE 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)#2C6CC10.029
Deuteranopia (no green cones)#005FBC0.026
Tritanopia (no blue cones)#0077860.123
Achromatopsia (no color)#6565650.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #3161BE

    #3161BE

    oklch(51.1% 0.156 262)

  • #845F00

    #845F00

    oklch(51.1% 0.105 82)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3161BE

    #3161BE

    oklch(51.1% 0.156 262)

  • #007097

    #007097

    oklch(51.2% 0.104 231.4)

  • #6B50B6

    #6B50B6

    oklch(51.1% 0.155 292.2)

Open the analogous palette in the generator

Split complementary

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

  • #3161BE

    #3161BE

    oklch(51.1% 0.156 262)

  • #9F4C00

    #9F4C00

    oklch(51.2% 0.131 52.1)

  • #696C00

    #696C00

    oklch(51.1% 0.113 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3161BE

    #3161BE

    oklch(51.1% 0.156 262)

  • #AE363C

    #AE363C

    oklch(51.2% 0.156 21.8)

  • #217B19

    #217B19

    oklch(51.1% 0.156 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3161BE

    #3161BE

    oklch(51.1% 0.156 262)

  • #A53770

    #A53770

    oklch(51.2% 0.155 352)

  • #845F00

    #845F00

    oklch(51.1% 0.105 82)

  • #007860

    #007860

    oklch(51% 0.099 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3161BE 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.