#4054BB

Closest named color: Iris (#6258C4). oklch(48.9% 0.163 270.9), rgb(64, 84, 187).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.163)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.20:1
White text6.55:1

Values

HEX#4054BB
RGBrgb(64, 84, 187)
HSLhsl(230, 49%, 49%)
OKLCHoklch(48.9% 0.163 270.9)

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 #4054BB 6.55:1 AA Lc -87.2 Fine for body text
Black text on #4054BB 3.20:1 AA large text Lc 22.0 Dividers and decoration only
#4054BB text on white 6.55:1 AA Lc 82.1 Fine for body text
#4054BB text on black 3.20:1 AA large text Lc -19.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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #ADBFF5

    oklch(81% 0.079 270.3)

  5. Step 400

    400

    #839BEF

    oklch(70.6% 0.126 270.8)

  6. Step 500

    500

    #6680EA

    oklch(63.1% 0.161 270.8)

  7. Step 600

    600

    #4F67D8

    oklch(55.6% 0.175 270.7)

  8. Step 700

    700 (this color)

    #4054BB

    oklch(48.9% 0.163 270.9)

  9. Step 800

    800

    #354698

    oklch(42.8% 0.135 270.8)

  10. Step 900

    900

    #2E3C79

    oklch(37.9% 0.105 270.9)

  11. Step 950

    950

    #1B2347

    oklch(27% 0.068 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#4054BB 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)#0063BF0.049
Deuteranopia (no green cones)#0058B90.042
Tritanopia (no blue cones)#006D7F0.136
Achromatopsia (no color)#5D5D5D0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #4054BB

    #4054BB

    oklch(48.9% 0.163 270.9)

  • #765D00

    #765D00

    oklch(49% 0.1 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4054BB

    #4054BB

    oklch(48.9% 0.163 270.9)

  • #00679A

    #00679A

    oklch(49.1% 0.113 240.5)

  • #7143AC

    #7143AC

    oklch(49% 0.162 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #4054BB

    #4054BB

    oklch(48.9% 0.163 270.9)

  • #8D4E00

    #8D4E00

    oklch(48.9% 0.114 61)

  • #576900

    #576900

    oklch(48.8% 0.117 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4054BB

    #4054BB

    oklch(48.9% 0.163 270.9)

  • #A92D1D

    #A92D1D

    oklch(48.9% 0.163 30.8)

  • #007436

    #007436

    oklch(48.9% 0.132 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4054BB

    #4054BB

    oklch(48.9% 0.163 270.9)

  • #A4295B

    #A4295B

    oklch(48.9% 0.163 0.8)

  • #765D00

    #765D00

    oklch(49% 0.1 90.4)

  • #007063

    #007063

    oklch(48.9% 0.088 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4054BB 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.