#2D54BA

Closest named color: Blue Blue (#2242C7). oklch(47.9% 0.167 264.9), rgb(45, 84, 186).

Aa

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

About this color

#2D54BA is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.167 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.049 away. White text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.167)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.08:1
White text6.79:1

Values

HEX#2D54BA
RGBrgb(45, 84, 186)
HSLhsl(223, 61%, 45%)
OKLCHoklch(47.9% 0.167 264.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 #2D54BA 6.79:1 AA Lc -88.0 Fine for body text
Black text on #2D54BA 3.08:1 AA large text Lc 21.1 Dividers and decoration only
#2D54BA text on white 6.79:1 AA Lc 83.0 Fine for body text
#2D54BA text on black 3.08:1 AA large text Lc -19.0 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CBD9F8

    oklch(88.5% 0.045 266.2)

  4. Step 300

    300

    #A7C0F6

    oklch(80.8% 0.082 265.3)

  5. Step 400

    400

    #799EF1

    oklch(70.7% 0.129 265)

  6. Step 500

    500

    #5783ED

    oklch(63.1% 0.166 265)

  7. Step 600

    600

    #3E6ADB

    oklch(55.6% 0.18 265)

  8. Step 700

    700 (this color)

    #2D54BA

    oklch(47.9% 0.167 264.9)

  9. Step 800

    800

    #28489A

    oklch(42.7% 0.139 265)

  10. Step 900

    900

    #243D7A

    oklch(37.6% 0.108 264.9)

  11. Step 950

    950

    #162448

    oklch(26.9% 0.07 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D54BA 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)#0062BE0.038
Deuteranopia (no green cones)#0055B80.024
Tritanopia (no blue cones)#006D7F0.131
Achromatopsia (no color)#5B5B5B0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D54BA

    #2D54BA

    oklch(47.9% 0.167 264.9)

  • #775800

    #775800

    oklch(48% 0.098 84.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D54BA

    #2D54BA

    oklch(47.9% 0.167 264.9)

  • #00658E

    #00658E

    oklch(47.9% 0.102 235.2)

  • #6742B0

    #6742B0

    oklch(48% 0.167 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #2D54BA

    #2D54BA

    oklch(47.9% 0.167 264.9)

  • #8F4700

    #8F4700

    oklch(47.9% 0.119 54.5)

  • #5C6400

    #5C6400

    oklch(48% 0.109 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D54BA

    #2D54BA

    oklch(47.9% 0.167 264.9)

  • #A72428

    #A72428

    oklch(47.9% 0.167 24.9)

  • #00721B

    #00721B

    oklch(48% 0.151 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D54BA

    #2D54BA

    oklch(47.9% 0.167 264.9)

  • #9F2462

    #9F2462

    oklch(47.9% 0.167 354.9)

  • #775800

    #775800

    oklch(48% 0.098 84.7)

  • #006E5A

    #006E5A

    oklch(48% 0.091 174.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D54BA 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.