#2C7FD8

Closest named color: Water Blue (#0E87CC). oklch(59.3% 0.157 253.4), rgb(44, 127, 216).

Aa

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

About this color

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

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

Values

HEX#2C7FD8
RGBrgb(44, 127, 216)
HSLhsl(211, 69%, 51%)
OKLCHoklch(59.3% 0.157 253.4)

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 #2C7FD8 4.09:1 AA large text Lc -73.1 Content text, not long reading
Black text on #2C7FD8 5.13:1 AA Lc 36.5 Non-text elements, placeholder text
#2C7FD8 text on white 4.09:1 AA large text Lc 67.6 Content text, not long reading
#2C7FD8 text on black 5.13: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

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A1C4EE

    oklch(80.9% 0.071 253.2)

  5. Step 400

    400

    #6DA4E5

    oklch(70.7% 0.112 253.4)

  6. Step 500

    500

    #438CDE

    oklch(63.2% 0.144 253.3)

  7. Step 600

    600 (this color)

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  8. Step 700

    700

    #0E61B0

    oklch(49.2% 0.145 253.2)

  9. Step 800

    800

    #114F8F

    oklch(42.7% 0.122 253.6)

  10. Step 900

    900

    #174272

    oklch(37.6% 0.095 253.7)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2C7FD8 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)#5386DC0.040
Deuteranopia (no green cones)#3576D60.023
Tritanopia (no blue cones)#0094A10.117
Achromatopsia (no color)#7D7D7D0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C7FD8

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  • #AA7000

    #AA7000

    oklch(59.2% 0.126 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C7FD8

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  • #008BAE

    #008BAE

    oklch(59.1% 0.111 223.7)

  • #746DD7

    #746DD7

    oklch(59.2% 0.157 283.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C7FD8

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  • #C75820

    #C75820

    oklch(59.3% 0.156 43.7)

  • #8C8000

    #8C8000

    oklch(59.2% 0.124 102.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C7FD8

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  • #C94E62

    #C94E62

    oklch(59.2% 0.157 13.5)

  • #55911A

    #55911A

    oklch(59.3% 0.158 133.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C7FD8

    #2C7FD8

    oklch(59.3% 0.157 253.4)

  • #BB5296

    #BB5296

    oklch(59.3% 0.156 343.3)

  • #AA7000

    #AA7000

    oklch(59.2% 0.126 73.4)

  • #009568

    #009568

    oklch(59.3% 0.128 163.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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