#3156AF

Closest named color: Denim Blue (#3B5B92). oklch(47.7% 0.148 264.5), rgb(49, 86, 175).

Aa

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

About this color

#3156AF is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.148 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.052 away. White text reads best on it, at 6.81:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.148)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.08:1
White text6.81:1

Values

HEX#3156AF
RGBrgb(49, 86, 175)
HSLhsl(222, 56%, 44%)
OKLCHoklch(47.7% 0.148 264.5)

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 #3156AF 6.81:1 AA Lc -88.2 Fine for body text
Black text on #3156AF 3.08:1 AA large text Lc 20.9 Dividers and decoration only
#3156AF text on white 6.81:1 AA Lc 83.2 Fine for body text
#3156AF text on black 3.08:1 AA large text Lc -18.8 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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCD9F4

    oklch(88.4% 0.04 265.1)

  4. Step 300

    300

    #AAC1F0

    oklch(81% 0.071 264.4)

  5. Step 400

    400

    #7D9FE9

    oklch(70.7% 0.115 264.8)

  6. Step 500

    500

    #5C85E2

    oklch(63.1% 0.148 264.6)

  7. Step 600

    600

    #436DD0

    oklch(55.7% 0.16 264.5)

  8. Step 700

    700 (this color)

    #3156AF

    oklch(47.7% 0.148 264.5)

  9. Step 800

    800

    #2C4A91

    oklch(42.6% 0.123 264.5)

  10. Step 900

    900

    #273F74

    oklch(37.7% 0.096 264)

  11. Step 950

    950

    #172544

    oklch(27% 0.061 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#3156AF 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)#2061B20.030
Deuteranopia (no green cones)#0055AD0.029
Tritanopia (no blue cones)#006B7A0.119
Achromatopsia (no color)#5B5B5B0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #3156AF

    #3156AF

    oklch(47.7% 0.148 264.5)

  • #765700

    #765700

    oklch(47.6% 0.098 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3156AF

    #3156AF

    oklch(47.7% 0.148 264.5)

  • #00658C

    #00658C

    oklch(47.7% 0.1 233.8)

  • #6446A6

    #6446A6

    oklch(47.7% 0.148 294.5)

Open the analogous palette in the generator

Split complementary

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

  • #3156AF

    #3156AF

    oklch(47.7% 0.148 264.5)

  • #8E4600

    #8E4600

    oklch(47.6% 0.119 54.2)

  • #5C6300

    #5C6300

    oklch(47.7% 0.108 114.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3156AF

    #3156AF

    oklch(47.7% 0.148 264.5)

  • #9F2F30

    #9F2F30

    oklch(47.6% 0.148 24.3)

  • #09711B

    #09711B

    oklch(47.8% 0.149 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3156AF

    #3156AF

    oklch(47.7% 0.148 264.5)

  • #982F62

    #982F62

    oklch(47.7% 0.148 354.3)

  • #765700

    #765700

    oklch(47.6% 0.098 84.5)

  • #006D59

    #006D59

    oklch(47.7% 0.091 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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