#1B54A4

Closest named color: Dusk Blue (#26538D). oklch(45.6% 0.142 258), rgb(27, 84, 164).

Aa

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

About this color

#1B54A4 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.142 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.037 away. White text reads best on it, at 7.36:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.142)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.85:1
White text7.36:1

Values

HEX#1B54A4
RGBrgb(27, 84, 164)
HSLhsl(215, 72%, 37%)
OKLCHoklch(45.6% 0.142 258)

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 #1B54A4 7.36:1 AAA Lc -90.0 Fine for body text
Black text on #1B54A4 2.85:1 Fails Lc 18.9 Dividers and decoration only
#1B54A4 text on white 7.36:1 AAA Lc 85.1 Fine for body text
#1B54A4 text on black 2.85:1 Fails Lc -16.9 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 800.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C3F6

    oklch(81% 0.082 257.7)

  5. Step 400

    400

    #6BA1F2

    oklch(70.6% 0.133 258.3)

  6. Step 500

    500

    #4187EE

    oklch(63% 0.17 258.2)

  7. Step 600

    600

    #1E6EDC

    oklch(55.5% 0.184 258.1)

  8. Step 700

    700

    #0F5CBF

    oklch(49.2% 0.171 257.9)

  9. Step 800

    800 (this color)

    #1B54A4

    oklch(45.6% 0.142 258)

  10. Step 900

    900

    #16407B

    oklch(37.7% 0.111 257.8)

  11. Step 950

    950

    #0E2648

    oklch(27% 0.07 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#1B54A4 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)#255CA70.025
Deuteranopia (no green cones)#0050A20.018
Tritanopia (no blue cones)#0067740.108
Achromatopsia (no color)#5656560.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B54A4

    #1B54A4

    oklch(45.6% 0.142 258)

  • #744F00

    #744F00

    oklch(45.7% 0.095 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B54A4

    #1B54A4

    oklch(45.6% 0.142 258)

  • #00607E

    #00607E

    oklch(45.7% 0.089 228.1)

  • #5645A0

    #5645A0

    oklch(45.7% 0.142 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #1B54A4

    #1B54A4

    oklch(45.6% 0.142 258)

  • #8C3C00

    #8C3C00

    oklch(45.7% 0.124 48)

  • #5D5A00

    #5D5A00

    oklch(45.6% 0.098 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B54A4

    #1B54A4

    oklch(45.6% 0.142 258)

  • #962A38

    #962A38

    oklch(45.6% 0.143 17.7)

  • #276800

    #276800

    oklch(45.7% 0.141 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B54A4

    #1B54A4

    oklch(45.6% 0.142 258)

  • #8C2D65

    #8C2D65

    oklch(45.7% 0.142 347.8)

  • #744F00

    #744F00

    oklch(45.7% 0.095 77.7)

  • #00674D

    #00674D

    oklch(45.6% 0.092 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B54A4 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.