#3161A2

Closest named color: Denim Blue (#3B5B92). oklch(49.2% 0.117 256.7), rgb(49, 97, 162).

Aa

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

About this color

#3161A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.117 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.028 away. White text reads best on it, at 6.24:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.36:1
White text6.24:1

Values

HEX#3161A2
RGBrgb(49, 97, 162)
HSLhsl(215, 54%, 41%)
OKLCHoklch(49.2% 0.117 256.7)

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 #3161A2 6.24:1 AA Lc -86.0 Fine for body text
Black text on #3161A2 3.36:1 AA large text Lc 23.2 Dividers and decoration only
#3161A2 text on white 6.24:1 AA Lc 80.9 Fine for body text
#3161A2 text on black 3.36:1 AA large text Lc -21.0 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CCDAEE

    oklch(88.4% 0.031 257.2)

  4. Step 300

    300

    #AAC3E6

    oklch(81% 0.057 256.8)

  5. Step 400

    400

    #7CA3D9

    oklch(70.8% 0.09 256.6)

  6. Step 500

    500

    #5A8BCE

    oklch(63.1% 0.115 256.5)

  7. Step 600

    600

    #3F74BB

    oklch(55.7% 0.125 256.4)

  8. Step 700

    700 (this color)

    #3161A2

    oklch(49.2% 0.117 256.7)

  9. Step 800

    800

    #294F83

    oklch(42.7% 0.097 256.8)

  10. Step 900

    900

    #264269

    oklch(37.7% 0.075 256.9)

  11. Step 950

    950

    #17273D

    oklch(27% 0.047 256.6)

Export this scale for Tailwind in the Tailwind colors tool

#3161A2 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)#4366A50.025
Deuteranopia (no green cones)#325CA10.014
Tritanopia (no blue cones)#0070790.093
Achromatopsia (no color)#6060600.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #3161A2

    #3161A2

    oklch(49.2% 0.117 256.7)

  • #825800

    #825800

    oklch(49.3% 0.103 76.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3161A2

    #3161A2

    oklch(49.2% 0.117 256.7)

  • #006B8A

    #006B8A

    oklch(49.2% 0.095 226.5)

  • #5D549F

    #5D549F

    oklch(49.1% 0.117 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #3161A2

    #3161A2

    oklch(49.2% 0.117 256.7)

  • #95481D

    #95481D

    oklch(49.2% 0.117 46.7)

  • #696400

    #696400

    oklch(49.2% 0.105 106.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3161A2

    #3161A2

    oklch(49.2% 0.117 256.7)

  • #984149

    #984149

    oklch(49.3% 0.117 16.8)

  • #3F7026

    #3F7026

    oklch(49.3% 0.118 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3161A2

    #3161A2

    oklch(49.2% 0.117 256.7)

  • #8F426E

    #8F426E

    oklch(49.2% 0.117 346.9)

  • #825800

    #825800

    oklch(49.3% 0.103 76.7)

  • #007354

    #007354

    oklch(49.3% 0.102 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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