#3156A8

Closest named color: Denim Blue (#3B5B92). oklch(47.1% 0.139 263.7), rgb(49, 86, 168).

Aa

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

About this color

#3156A8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.139 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.042 away. White text reads best on it, at 6.93:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.02:1
White text6.93:1

Values

HEX#3156A8
RGBrgb(49, 86, 168)
HSLhsl(221, 55%, 43%)
OKLCHoklch(47.1% 0.139 263.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 #3156A8 6.93:1 AA Lc -88.6 Fine for body text
Black text on #3156A8 3.02:1 AA large text Lc 20.4 Dividers and decoration only
#3156A8 text on white 6.93:1 AA Lc 83.7 Fine for body text
#3156A8 text on black 3.02:1 AA large text Lc -18.3 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CDDAF3

    oklch(88.6% 0.037 263.6)

  4. Step 300

    300

    #ABC1ED

    oklch(80.9% 0.067 264.1)

  5. Step 400

    400

    #7EA0E4

    oklch(70.8% 0.107 263.5)

  6. Step 500

    500

    #5E86DC

    oklch(63% 0.137 264)

  7. Step 600

    600

    #446ECA

    oklch(55.5% 0.15 263.8)

  8. Step 700

    700 (this color)

    #3156A8

    oklch(47.1% 0.139 263.7)

  9. Step 800

    800

    #2D4B8D

    oklch(42.6% 0.115 263.8)

  10. Step 900

    900

    #283F71

    oklch(37.6% 0.091 264)

  11. Step 950

    950

    #182542

    oklch(26.9% 0.057 264.6)

Export this scale for Tailwind in the Tailwind colors tool

#3156A8 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)#295FAB0.024
Deuteranopia (no green cones)#0755A60.027
Tritanopia (no blue cones)#0069770.111
Achromatopsia (no color)#5A5A5A0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #3156A8

    #3156A8

    oklch(47.1% 0.139 263.7)

  • #755500

    #755500

    oklch(47.1% 0.097 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3156A8

    #3156A8

    oklch(47.1% 0.139 263.7)

  • #006389

    #006389

    oklch(47.1% 0.098 233.6)

  • #6147A0

    #6147A0

    oklch(47.1% 0.139 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #3156A8

    #3156A8

    oklch(47.1% 0.139 263.7)

  • #8D4500

    #8D4500

    oklch(47.3% 0.119 53.9)

  • #5B6100

    #5B6100

    oklch(47.1% 0.106 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3156A8

    #3156A8

    oklch(47.1% 0.139 263.7)

  • #9A3233

    #9A3233

    oklch(47.1% 0.139 23.6)

  • #196E1E

    #196E1E

    oklch(47.2% 0.139 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3156A8

    #3156A8

    oklch(47.1% 0.139 263.7)

  • #933261

    #933261

    oklch(47.2% 0.139 353.8)

  • #755500

    #755500

    oklch(47.1% 0.097 83.2)

  • #006B57

    #006B57

    oklch(47.1% 0.09 173.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3156A8 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.