#2B7FDB

Closest named color: Water Blue (#0E87CC). oklch(59.4% 0.161 253.9), rgb(43, 127, 219).

Aa

Black text reads best on this color (5.16:1).

About this color

#2B7FDB is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.161 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.036 away. Black text reads best on it, at 5.16:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.161)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.16:1
White text4.06:1

Values

HEX#2B7FDB
RGBrgb(43, 127, 219)
HSLhsl(211, 71%, 51%)
OKLCHoklch(59.4% 0.161 253.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 #2B7FDB 4.06:1 AA large text Lc -72.9 Content text, not long reading
Black text on #2B7FDB 5.16:1 AA Lc 36.7 Non-text elements, placeholder text
#2B7FDB text on white 4.06:1 AA large text Lc 67.4 Content text, not long reading
#2B7FDB text on black 5.16:1 AA Lc -34.2 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9EC4F3

    oklch(80.9% 0.078 254)

  5. Step 400

    400

    #66A4ED

    oklch(70.8% 0.125 253.5)

  6. Step 500

    500 (this color)

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  7. Step 600

    600

    #0372D6

    oklch(55.6% 0.176 254)

  8. Step 700

    700

    #0060B6

    oklch(49.2% 0.156 253.8)

  9. Step 800

    800

    #014E96

    oklch(42.7% 0.135 254)

  10. Step 900

    900

    #104277

    oklch(37.8% 0.104 253.6)

  11. Step 950

    950

    #0C2746

    oklch(27.1% 0.066 254)

Export this scale for Tailwind in the Tailwind colors tool

#2B7FDB 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)#5186DF0.038
Deuteranopia (no green cones)#3077D90.021
Tritanopia (no blue cones)#0095A20.121
Achromatopsia (no color)#7E7E7E0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7FDB

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  • #AA7100

    #AA7100

    oklch(59.4% 0.126 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7FDB

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  • #008CAF

    #008CAF

    oklch(59.4% 0.111 223.6)

  • #756DDA

    #756DDA

    oklch(59.5% 0.161 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B7FDB

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  • #C9571A

    #C9571A

    oklch(59.4% 0.16 44)

  • #8C8100

    #8C8100

    oklch(59.4% 0.125 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7FDB

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  • #CC4D61

    #CC4D61

    oklch(59.5% 0.161 14)

  • #539217

    #539217

    oklch(59.5% 0.161 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7FDB

    #2B7FDB

    oklch(59.4% 0.161 253.9)

  • #BD5096

    #BD5096

    oklch(59.4% 0.161 343.7)

  • #AA7100

    #AA7100

    oklch(59.4% 0.126 74.1)

  • #00956A

    #00956A

    oklch(59.3% 0.126 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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