#2A7CEE

Closest named color: Clear Blue (#247AFD). oklch(60% 0.189 257.9), rgb(42, 124, 238).

Aa

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

About this color

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

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

Values

HEX#2A7CEE
RGBrgb(42, 124, 238)
HSLhsl(215, 85%, 55%)
OKLCHoklch(60% 0.189 257.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 #2A7CEE 4.02:1 AA large text Lc -72.5 Content text, not long reading
Black text on #2A7CEE 5.21:1 AA Lc 37.1 Non-text elements, placeholder text
#2A7CEE text on white 4.02:1 AA large text Lc 67.0 Content text, not long reading
#2A7CEE text on black 5.21:1 AA Lc -34.7 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFC

    oklch(88.6% 0.051 258.4)

  4. Step 300

    300

    #9CC3FC

    oklch(81% 0.091 257.8)

  5. Step 400

    400

    #63A1FB

    oklch(70.7% 0.147 257.7)

  6. Step 500

    500 (this color)

    #2A7CEE

    oklch(60% 0.189 257.9)

  7. Step 600

    600

    #006CE8

    oklch(55.6% 0.205 258)

  8. Step 700

    700

    #005AC4

    oklch(49% 0.181 258)

  9. Step 800

    800

    #004AA3

    oklch(42.8% 0.158 257.9)

  10. Step 900

    900

    #0E3F81

    oklch(37.7% 0.123 257.8)

  11. Step 950

    950

    #0B254C

    oklch(27% 0.079 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A7CEE 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)#3988F20.035
Deuteranopia (no green cones)#0076EC0.023
Tritanopia (no blue cones)#0098A90.146
Achromatopsia (no color)#7F7F7F0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7CEE

    #2A7CEE

    oklch(60% 0.189 257.9)

  • #A97500

    #A97500

    oklch(60% 0.125 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7CEE

    #2A7CEE

    oklch(60% 0.189 257.9)

  • #008DB7

    #008DB7

    oklch(60.1% 0.117 227.9)

  • #7E66E8

    #7E66E8

    oklch(60% 0.189 287.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A7CEE

    #2A7CEE

    oklch(60% 0.189 257.9)

  • #CB5A00

    #CB5A00

    oklch(60% 0.164 47.9)

  • #888500

    #888500

    oklch(60% 0.129 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7CEE

    #2A7CEE

    oklch(60% 0.189 257.9)

  • #DA4054

    #DA4054

    oklch(60.1% 0.19 17.8)

  • #3D9800

    #3D9800

    oklch(60% 0.186 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7CEE

    #2A7CEE

    oklch(60% 0.189 257.9)

  • #CC4494

    #CC4494

    oklch(60.1% 0.189 348)

  • #A97500

    #A97500

    oklch(60% 0.125 77.7)

  • #009772

    #009772

    oklch(60.1% 0.122 167.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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