#4156B2

Closest named color: Mid Blue (#276AB3). oklch(48.7% 0.148 270.4), rgb(65, 86, 178).

Aa

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

About this color

#4156B2 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.148 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.055 away. White text reads best on it, at 6.56:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.148)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.19:1
White text6.56:1

Values

HEX#4156B2
RGBrgb(65, 86, 178)
HSLhsl(229, 47%, 48%)
OKLCHoklch(48.7% 0.148 270.4)

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 #4156B2 6.56:1 AA Lc -87.3 Fine for body text
Black text on #4156B2 3.19:1 AA large text Lc 21.8 Dividers and decoration only
#4156B2 text on white 6.56:1 AA Lc 82.2 Fine for body text
#4156B2 text on black 3.19:1 AA large text Lc -19.7 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD8F4

    oklch(88.4% 0.04 271.4)

  4. Step 300

    300

    #AFBFF0

    oklch(80.9% 0.072 270.6)

  5. Step 400

    400

    #859CE8

    oklch(70.6% 0.115 270.4)

  6. Step 500

    500

    #6882E1

    oklch(63.1% 0.146 270.3)

  7. Step 600

    600

    #5169CF

    oklch(55.5% 0.159 270.5)

  8. Step 700

    700 (this color)

    #4156B2

    oklch(48.7% 0.148 270.4)

  9. Step 800

    800

    #364891

    oklch(42.7% 0.122 270.1)

  10. Step 900

    900

    #2F3D74

    oklch(37.8% 0.095 270.5)

  11. Step 950

    950

    #1B2444

    oklch(27% 0.061 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#4156B2 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)#2062B50.039
Deuteranopia (no green cones)#0058B00.044
Tritanopia (no blue cones)#006B7C0.124
Achromatopsia (no color)#5D5D5D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #4156B2

    #4156B2

    oklch(48.7% 0.148 270.4)

  • #755C00

    #755C00

    oklch(48.6% 0.099 90.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4156B2

    #4156B2

    oklch(48.7% 0.148 270.4)

  • #006698

    #006698

    oklch(48.7% 0.112 240.2)

  • #6E46A5

    #6E46A5

    oklch(48.6% 0.148 300.4)

Open the analogous palette in the generator

Split complementary

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

  • #4156B2

    #4156B2

    oklch(48.7% 0.148 270.4)

  • #8D4D00

    #8D4D00

    oklch(48.7% 0.114 60.1)

  • #576900

    #576900

    oklch(48.8% 0.117 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4156B2

    #4156B2

    oklch(48.7% 0.148 270.4)

  • #A33527

    #A33527

    oklch(48.9% 0.148 30.4)

  • #007334

    #007334

    oklch(48.6% 0.132 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4156B2

    #4156B2

    oklch(48.7% 0.148 270.4)

  • #9E315C

    #9E315C

    oklch(48.7% 0.149 0.1)

  • #755C00

    #755C00

    oklch(48.6% 0.099 90.2)

  • #007062

    #007062

    oklch(48.9% 0.089 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4156B2 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.