#3174D6

Closest named color: Royal Blue (#4169E1). oklch(56.9% 0.165 258.3), rgb(49, 116, 214).

Aa

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

About this color

#3174D6 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.165 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.035 away. Black text reads best on it, at 4.59:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.165)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.59:1
White text4.56:1

Values

HEX#3174D6
RGBrgb(49, 116, 214)
HSLhsl(216, 67%, 52%)
OKLCHoklch(56.9% 0.165 258.3)

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 #3174D6 4.56:1 AA Lc -76.7 Fine for body text
Black text on #3174D6 4.59:1 AA Lc 32.8 Non-text elements, placeholder text
#3174D6 text on white 4.56:1 AA Lc 71.3 Content text, not long reading
#3174D6 text on black 4.59:1 AA Lc -30.4 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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C9DBF5

    oklch(88.6% 0.041 257.5)

  4. Step 300

    300

    #A3C2F1

    oklch(80.8% 0.075 258.6)

  5. Step 400

    400

    #71A2EA

    oklch(70.7% 0.119 257.9)

  6. Step 500

    500

    #4B88E4

    oklch(63% 0.153 258.5)

  7. Step 600

    600 (this color)

    #3174D6

    oklch(56.9% 0.165 258.3)

  8. Step 700

    700

    #205DB6

    oklch(49.1% 0.154 258.5)

  9. Step 800

    800

    #1C4D93

    oklch(42.8% 0.127 258)

  10. Step 900

    900

    #1D4175

    oklch(37.8% 0.098 257.9)

  11. Step 950

    950

    #122645

    oklch(27% 0.064 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#3174D6 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)#407EDA0.031
Deuteranopia (no green cones)#176FD40.022
Tritanopia (no blue cones)#008B9A0.128
Achromatopsia (no color)#7676760.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #3174D6

    #3174D6

    oklch(56.9% 0.165 258.3)

  • #9C6D00

    #9C6D00

    oklch(56.9% 0.118 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3174D6

    #3174D6

    oklch(56.9% 0.165 258.3)

  • #0083AA

    #0083AA

    oklch(56.9% 0.111 227.7)

  • #7561D1

    #7561D1

    oklch(56.8% 0.166 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #3174D6

    #3174D6

    oklch(56.9% 0.165 258.3)

  • #BC5400

    #BC5400

    oklch(56.9% 0.154 48.4)

  • #7E7C00

    #7E7C00

    oklch(56.9% 0.123 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3174D6

    #3174D6

    oklch(56.9% 0.165 258.3)

  • #C54350

    #C54350

    oklch(56.8% 0.165 18.4)

  • #3D8C18

    #3D8C18

    oklch(56.8% 0.165 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3174D6

    #3174D6

    oklch(56.9% 0.165 258.3)

  • #B94587

    #B94587

    oklch(56.8% 0.165 348.4)

  • #9C6D00

    #9C6D00

    oklch(56.9% 0.118 78.8)

  • #008C6A

    #008C6A

    oklch(56.9% 0.115 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3174D6 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.