#2B5ED4

Closest named color: Warm Blue (#4B57DB). oklch(51.9% 0.19 263.5), rgb(43, 94, 212).

Aa

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

About this color

#2B5ED4 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.190 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.036 away. White text reads best on it, at 5.74:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.190)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.65:1
White text5.74:1

Values

HEX#2B5ED4
RGBrgb(43, 94, 212)
HSLhsl(222, 66%, 50%)
OKLCHoklch(51.9% 0.19 263.5)

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 #2B5ED4 5.74:1 AA Lc -83.4 Fine for body text
Black text on #2B5ED4 3.65:1 AA large text Lc 25.9 Dividers and decoration only
#2B5ED4 text on white 5.74:1 AA Lc 78.2 Fine for body text
#2B5ED4 text on black 3.65:1 AA large text Lc -23.6 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFC

    oklch(88.6% 0.051 263.2)

  4. Step 300

    300

    #A2C1FD

    oklch(81% 0.092 263.3)

  5. Step 400

    400

    #709EFC

    oklch(70.8% 0.147 263.4)

  6. Step 500

    500

    #4B82FA

    oklch(63.2% 0.189 263.4)

  7. Step 600

    600

    #3067E9

    oklch(55.5% 0.206 263.7)

  8. Step 700

    700 (this color)

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  9. Step 800

    800

    #1E46A4

    oklch(42.7% 0.159 263.6)

  10. Step 900

    900

    #1D3C82

    oklch(37.6% 0.124 263.6)

  11. Step 950

    950

    #12244C

    oklch(27% 0.078 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B5ED4 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)#006ED80.040
Deuteranopia (no green cones)#005FD20.019
Tritanopia (no blue cones)#007B900.147
Achromatopsia (no color)#6666660.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B5ED4

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  • #866200

    #866200

    oklch(51.9% 0.107 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B5ED4

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  • #00729D

    #00729D

    oklch(52% 0.108 233.6)

  • #7248C9

    #7248C9

    oklch(51.9% 0.19 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B5ED4

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  • #A14F00

    #A14F00

    oklch(52% 0.131 53.4)

  • #696F00

    #696F00

    oklch(51.9% 0.116 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B5ED4

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  • #BE212E

    #BE212E

    oklch(52% 0.19 23.5)

  • #008012

    #008012

    oklch(52% 0.171 143.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B5ED4

    #2B5ED4

    oklch(51.9% 0.19 263.5)

  • #B42371

    #B42371

    oklch(52% 0.19 353.6)

  • #866200

    #866200

    oklch(51.9% 0.107 83.4)

  • #007B64

    #007B64

    oklch(52% 0.099 173.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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