#3161EA

Closest named color: Azul (#1D5DEC). oklch(54.5% 0.214 265.1), rgb(49, 97, 234).

Aa

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

About this color

#3161EA is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.214 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.018 away. White text reads best on it, at 5.21:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.214)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text4.02:1
White text5.21:1

Values

HEX#3161EA
RGBrgb(49, 97, 234)
HSLhsl(224, 81%, 55%)
OKLCHoklch(54.5% 0.214 265.1)

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 #3161EA 5.21:1 AA Lc -80.6 Fine for body text
Black text on #3161EA 4.02:1 AA large text Lc 28.9 Dividers and decoration only
#3161EA text on white 5.21:1 AA Lc 75.2 Fine for body text
#3161EA text on black 4.02:1 AA large text Lc -26.5 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 600.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8D9FD

    oklch(88.4% 0.053 265.3)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #729CFF

    oklch(70.6% 0.153 265.4)

  6. Step 500

    500

    #4E80FE

    oklch(63.2% 0.195 265)

  7. Step 600

    600 (this color)

    #3161EA

    oklch(54.5% 0.214 265.1)

  8. Step 700

    700

    #2752CF

    oklch(49% 0.199 265.1)

  9. Step 800

    800

    #2144A7

    oklch(42.6% 0.165 265.1)

  10. Step 900

    900

    #1F3B84

    oklch(37.7% 0.128 265)

  11. Step 950

    950

    #12234E

    oklch(26.9% 0.082 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#3161EA 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)#0075EF0.048
Deuteranopia (no green cones)#0064E70.022
Tritanopia (no blue cones)#00849C0.167
Achromatopsia (no color)#6C6C6C0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #3161EA

    #3161EA

    oklch(54.5% 0.214 265.1)

  • #8E6A00

    #8E6A00

    oklch(54.6% 0.112 85)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3161EA

    #3161EA

    oklch(54.5% 0.214 265.1)

  • #0079AA

    #0079AA

    oklch(54.4% 0.117 235.7)

  • #7E48DC

    #7E48DC

    oklch(54.6% 0.213 295.1)

Open the analogous palette in the generator

Split complementary

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

  • #3161EA

    #3161EA

    oklch(54.5% 0.214 265.1)

  • #AA5600

    #AA5600

    oklch(54.5% 0.135 54.8)

  • #6E7800

    #6E7800

    oklch(54.5% 0.124 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3161EA

    #3161EA

    oklch(54.5% 0.214 265.1)

  • #D01325

    #D01325

    oklch(54.6% 0.214 25.2)

  • #008823

    #008823

    oklch(54.5% 0.171 145.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3161EA

    #3161EA

    oklch(54.5% 0.214 265.1)

  • #C51676

    #C51676

    oklch(54.4% 0.213 355)

  • #8E6A00

    #8E6A00

    oklch(54.6% 0.112 85)

  • #00836D

    #00836D

    oklch(54.5% 0.102 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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