#2C7CEA

Closest named color: Clear Blue (#247AFD). oklch(59.8% 0.183 257.7), rgb(44, 124, 234).

Aa

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

About this color

#2C7CEA is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.183 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.030 away. Black text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.183)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.17:1
White text4.05:1

Values

HEX#2C7CEA
RGBrgb(44, 124, 234)
HSLhsl(215, 82%, 55%)
OKLCHoklch(59.8% 0.183 257.7)

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 #2C7CEA 4.05:1 AA large text Lc -72.8 Content text, not long reading
Black text on #2C7CEA 5.17:1 AA Lc 36.8 Non-text elements, placeholder text
#2C7CEA text on white 4.05:1 AA large text Lc 67.2 Content text, not long reading
#2C7CEA text on black 5.17:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #65A1F9

    oklch(70.7% 0.144 257.9)

  6. Step 500

    500 (this color)

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  7. Step 600

    600

    #076DE4

    oklch(55.6% 0.199 257.6)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #034AA0

    oklch(42.6% 0.153 257.7)

  10. Step 900

    900

    #103F7F

    oklch(37.6% 0.119 257.7)

  11. Step 950

    950

    #0B264B

    oklch(27.1% 0.076 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C7CEA 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)#3E87EE0.034
Deuteranopia (no green cones)#0076E80.024
Tritanopia (no blue cones)#0096A80.138
Achromatopsia (no color)#7E7E7E0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7CEA

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  • #A87400

    #A87400

    oklch(59.7% 0.125 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7CEA

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  • #008CB6

    #008CB6

    oklch(59.8% 0.117 228.1)

  • #7D67E5

    #7D67E5

    oklch(59.8% 0.183 287.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C7CEA

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  • #CA5900

    #CA5900

    oklch(59.7% 0.164 47.6)

  • #888400

    #888400

    oklch(59.7% 0.128 107.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7CEA

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  • #D64355

    #D64355

    oklch(59.7% 0.183 17.8)

  • #3F9701

    #3F9701

    oklch(59.8% 0.183 137.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7CEA

    #2C7CEA

    oklch(59.8% 0.183 257.7)

  • #C94693

    #C94693

    oklch(59.8% 0.184 347.8)

  • #A87400

    #A87400

    oklch(59.7% 0.125 77.5)

  • #009671

    #009671

    oklch(59.8% 0.121 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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