#3166E5

Closest named color: Royal Blue (#4169E1). oklch(55.1% 0.201 263.9), rgb(49, 102, 229).

Aa

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

About this color

#3166E5 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.201 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.018 away. White text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.201)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.16:1
White text5.04:1

Values

HEX#3166E5
RGBrgb(49, 102, 229)
HSLhsl(222, 78%, 55%)
OKLCHoklch(55.1% 0.201 263.9)

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 #3166E5 5.04:1 AA Lc -79.7 Fine for body text
Black text on #3166E5 4.16:1 AA large text Lc 29.8 Dividers and decoration only
#3166E5 text on white 5.04:1 AA Lc 74.3 Content text, not long reading
#3166E5 text on black 4.16:1 AA large text Lc -27.4 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

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A3C1FC

    oklch(81% 0.09 263.6)

  5. Step 400

    400

    #719EFB

    oklch(70.8% 0.145 263.6)

  6. Step 500

    500

    #4D82F8

    oklch(63.1% 0.185 263.7)

  7. Step 600

    600 (this color)

    #3166E5

    oklch(55.1% 0.201 263.9)

  8. Step 700

    700

    #2655C9

    oklch(49.1% 0.188 264)

  9. Step 800

    800

    #2047A2

    oklch(42.8% 0.154 263.6)

  10. Step 900

    900

    #1F3C81

    oklch(37.6% 0.122 264.2)

  11. Step 950

    950

    #12244B

    oklch(26.9% 0.076 263.5)

Export this scale for Tailwind in the Tailwind colors tool

#3166E5 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)#0077E90.042
Deuteranopia (no green cones)#0067E30.021
Tritanopia (no blue cones)#00869C0.157
Achromatopsia (no color)#6F6F6F0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #3166E5

    #3166E5

    oklch(55.1% 0.201 263.9)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3166E5

    #3166E5

    oklch(55.1% 0.201 263.9)

  • #007BAA

    #007BAA

    oklch(54.9% 0.115 234.2)

  • #7C4FD9

    #7C4FD9

    oklch(55.1% 0.201 293.8)

Open the analogous palette in the generator

Split complementary

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

  • #3166E5

    #3166E5

    oklch(55.1% 0.201 263.9)

  • #AE5600

    #AE5600

    oklch(55.1% 0.139 53.4)

  • #727900

    #727900

    oklch(55.1% 0.124 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3166E5

    #3166E5

    oklch(55.1% 0.201 263.9)

  • #CD2532

    #CD2532

    oklch(55% 0.201 23.7)

  • #008A18

    #008A18

    oklch(55% 0.179 143.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3166E5

    #3166E5

    oklch(55.1% 0.201 263.9)

  • #C3277A

    #C3277A

    oklch(55.2% 0.202 354)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

  • #00856D

    #00856D

    oklch(55% 0.105 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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