#2B7EDC

Closest named color: Water Blue (#0E87CC). oklch(59.3% 0.163 254.5), rgb(43, 126, 220).

Aa

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

About this color

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

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

Values

HEX#2B7EDC
RGBrgb(43, 126, 220)
HSLhsl(212, 72%, 52%)
OKLCHoklch(59.3% 0.163 254.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 #2B7EDC 4.10:1 AA large text Lc -73.2 Content text, not long reading
Black text on #2B7EDC 5.12:1 AA Lc 36.4 Non-text elements, placeholder text
#2B7EDC text on white 4.10:1 AA large text Lc 67.7 Content text, not long reading
#2B7EDC text on black 5.12:1 AA Lc -34.0 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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A1C4F0

    oklch(81% 0.073 254.4)

  5. Step 400

    400

    #6CA3E8

    oklch(70.6% 0.117 254.7)

  6. Step 500

    500

    #428BE2

    oklch(63.2% 0.15 254.5)

  7. Step 600

    600 (this color)

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  8. Step 700

    700

    #0D60B4

    oklch(49.2% 0.152 254.4)

  9. Step 800

    800

    #104E91

    oklch(42.6% 0.126 254.5)

  10. Step 900

    900

    #174274

    oklch(37.8% 0.098 254.5)

  11. Step 950

    950

    #0F2744

    oklch(27% 0.062 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#2B7EDC 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)#4E86E00.038
Deuteranopia (no green cones)#2C76DA0.021
Tritanopia (no blue cones)#0094A20.122
Achromatopsia (no color)#7D7D7D0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7EDC

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  • #A97100

    #A97100

    oklch(59.3% 0.125 74.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7EDC

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  • #008BAF

    #008BAF

    oklch(59.2% 0.112 224.4)

  • #766BDA

    #766BDA

    oklch(59.2% 0.164 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B7EDC

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  • #CA5613

    #CA5613

    oklch(59.4% 0.164 44.5)

  • #8A8100

    #8A8100

    oklch(59.2% 0.125 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7EDC

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  • #CC4B5F

    #CC4B5F

    oklch(59.2% 0.163 14.4)

  • #509215

    #509215

    oklch(59.3% 0.164 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7EDC

    #2B7EDC

    oklch(59.3% 0.163 254.5)

  • #BE4F95

    #BE4F95

    oklch(59.3% 0.163 344.4)

  • #A97100

    #A97100

    oklch(59.3% 0.125 74.7)

  • #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 #2B7EDC, closest first.

Similar named colors

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

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