#3181D3

Closest named color: Water Blue (#0E87CC). oklch(59.5% 0.147 252.2), rgb(49, 129, 211).

Aa

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

About this color

#3181D3 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.147 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.025 away. Black text reads best on it, at 5.21:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.147)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.21:1
White text4.02:1

Values

HEX#3181D3
RGBrgb(49, 129, 211)
HSLhsl(210, 65%, 51%)
OKLCHoklch(59.5% 0.147 252.2)

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 #3181D3 4.02:1 AA large text Lc -72.7 Content text, not long reading
Black text on #3181D3 5.21:1 AA Lc 36.9 Non-text elements, placeholder text
#3181D3 text on white 4.02:1 AA large text Lc 67.2 Content text, not long reading
#3181D3 text on black 5.21:1 AA Lc -34.5 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DBF3

    oklch(88.4% 0.04 253)

  4. Step 300

    300

    #9FC4EE

    oklch(80.8% 0.072 251.9)

  5. Step 400

    400

    #69A4E6

    oklch(70.6% 0.115 252.2)

  6. Step 500

    500 (this color)

    #3181D3

    oklch(59.5% 0.147 252.2)

  7. Step 600

    600

    #1274CD

    oklch(55.6% 0.16 252.3)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #08508F

    oklch(42.8% 0.122 251.8)

  10. Step 900

    900

    #134372

    oklch(37.7% 0.095 251.6)

  11. Step 950

    950

    #0D2743

    oklch(26.9% 0.061 252.5)

Export this scale for Tailwind in the Tailwind colors tool

#3181D3 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)#5A87D60.042
Deuteranopia (no green cones)#4078D10.024
Tritanopia (no blue cones)#0094A00.109
Achromatopsia (no color)#7F7F7F0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #3181D3

    #3181D3

    oklch(59.5% 0.147 252.2)

  • #AD7000

    #AD7000

    oklch(59.6% 0.128 71.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3181D3

    #3181D3

    oklch(59.5% 0.147 252.2)

  • #008DAE

    #008DAE

    oklch(59.6% 0.11 222)

  • #7370D3

    #7370D3

    oklch(59.5% 0.148 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #3181D3

    #3181D3

    oklch(59.5% 0.147 252.2)

  • #C55B2E

    #C55B2E

    oklch(59.5% 0.148 42)

  • #8E8100

    #8E8100

    oklch(59.6% 0.125 102.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3181D3

    #3181D3

    oklch(59.5% 0.147 252.2)

  • #C65367

    #C65367

    oklch(59.5% 0.147 12.1)

  • #5C9025

    #5C9025

    oklch(59.5% 0.147 132.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3181D3

    #3181D3

    oklch(59.5% 0.147 252.2)

  • #B85697

    #B85697

    oklch(59.5% 0.148 342.1)

  • #AD7000

    #AD7000

    oklch(59.6% 0.128 71.8)

  • #009667

    #009667

    oklch(59.5% 0.13 162.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3181D3 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.