#4154B5

Closest named color: Iris (#6258C4). oklch(48.5% 0.154 271.2), rgb(65, 84, 181).

Aa

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

About this color

#4154B5 is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.154 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.054 away. White text reads best on it, at 6.64:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.154)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.16:1
White text6.64:1

Values

HEX#4154B5
RGBrgb(65, 84, 181)
HSLhsl(230, 47%, 48%)
OKLCHoklch(48.5% 0.154 271.2)

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 #4154B5 6.64:1 AA Lc -87.6 Fine for body text
Black text on #4154B5 3.16:1 AA large text Lc 21.5 Dividers and decoration only
#4154B5 text on white 6.64:1 AA Lc 82.5 Fine for body text
#4154B5 text on black 3.16:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F5

    oklch(88.4% 0.041 271.9)

  4. Step 300

    300

    #AFBFF2

    oklch(81% 0.074 271.1)

  5. Step 400

    400

    #859CEB

    oklch(70.7% 0.119 270.8)

  6. Step 500

    500

    #6881E5

    oklch(63.1% 0.153 270.9)

  7. Step 600

    600

    #5168D3

    oklch(55.6% 0.166 271)

  8. Step 700

    700 (this color)

    #4154B5

    oklch(48.5% 0.154 271.2)

  9. Step 800

    800

    #374794

    oklch(42.8% 0.127 271.2)

  10. Step 900

    900

    #2F3C76

    oklch(37.7% 0.1 271.4)

  11. Step 950

    950

    #1B2445

    oklch(27.1% 0.063 270.3)

Export this scale for Tailwind in the Tailwind colors tool

#4154B5 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)#1362B80.046
Deuteranopia (no green cones)#0057B30.044
Tritanopia (no blue cones)#006B7C0.130
Achromatopsia (no color)#5C5C5C0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #4154B5

    #4154B5

    oklch(48.5% 0.154 271.2)

  • #745C00

    #745C00

    oklch(48.5% 0.099 91)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4154B5

    #4154B5

    oklch(48.5% 0.154 271.2)

  • #006599

    #006599

    oklch(48.5% 0.114 241.5)

  • #6F44A7

    #6F44A7

    oklch(48.6% 0.154 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #4154B5

    #4154B5

    oklch(48.5% 0.154 271.2)

  • #8B4D00

    #8B4D00

    oklch(48.4% 0.112 61.1)

  • #566800

    #566800

    oklch(48.5% 0.116 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4154B5

    #4154B5

    oklch(48.5% 0.154 271.2)

  • #A43120

    #A43120

    oklch(48.5% 0.154 31.4)

  • #007336

    #007336

    oklch(48.6% 0.13 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4154B5

    #4154B5

    oklch(48.5% 0.154 271.2)

  • #A02D5A

    #A02D5A

    oklch(48.6% 0.155 1)

  • #745C00

    #745C00

    oklch(48.5% 0.099 91)

  • #006F62

    #006F62

    oklch(48.6% 0.088 181)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4154B5 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.