#2C7BD4

Closest named color: Windows Blue (#3778BF). oklch(58.1% 0.156 254.2), rgb(44, 123, 212).

Aa

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

About this color

#2C7BD4 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.156 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.032 away. Black text reads best on it, at 4.89:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.156)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.89:1
White text4.29:1

Values

HEX#2C7BD4
RGBrgb(44, 123, 212)
HSLhsl(212, 66%, 50%)
OKLCHoklch(58.1% 0.156 254.2)

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 #2C7BD4 4.29:1 AA large text Lc -74.7 Content text, not long reading
Black text on #2C7BD4 4.89:1 AA Lc 34.8 Non-text elements, placeholder text
#2C7BD4 text on white 4.29:1 AA large text Lc 69.3 Content text, not long reading
#2C7BD4 text on black 4.89:1 AA Lc -32.4 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

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A2C4EE

    oklch(81% 0.07 253.9)

  5. Step 400

    400

    #6EA4E5

    oklch(70.8% 0.112 253.8)

  6. Step 500

    500

    #458BDE

    oklch(63.1% 0.144 254.3)

  7. Step 600

    600 (this color)

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  8. Step 700

    700

    #1460B0

    oklch(49.1% 0.145 254.3)

  9. Step 800

    800

    #154F8F

    oklch(42.8% 0.121 254.3)

  10. Step 900

    900

    #194272

    oklch(37.7% 0.094 254.4)

  11. Step 950

    950

    #102743

    oklch(27% 0.06 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#2C7BD4 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)#4F82D70.037
Deuteranopia (no green cones)#3073D20.021
Tritanopia (no blue cones)#00909D0.118
Achromatopsia (no color)#7A7A7A0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7BD4

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7BD4

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  • #0088AB

    #0088AB

    oklch(58.2% 0.11 224.2)

  • #7269D2

    #7269D2

    oklch(58% 0.156 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #2C7BD4

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  • #C35519

    #C35519

    oklch(58.2% 0.156 44.4)

  • #877D00

    #877D00

    oklch(58% 0.123 103.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7BD4

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  • #C54B5E

    #C54B5E

    oklch(58.1% 0.156 14)

  • #508D19

    #508D19

    oklch(58% 0.156 134.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7BD4

    #2C7BD4

    oklch(58.1% 0.156 254.2)

  • #B84E91

    #B84E91

    oklch(58.2% 0.157 344.3)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

  • #009167

    #009167

    oklch(58.1% 0.124 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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