#2A7EA1

Closest named color: Cerulean (#457B9D). oklch(55.9% 0.095 230), rgb(42, 126, 161).

Aa

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

About this color

#2A7EA1 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 56%, its chroma 0.095 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.021 away. Black text reads best on it, at 4.59:1.

Hue familyTeals and cyans
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.59:1
White text4.56:1

Values

HEX#2A7EA1
RGBrgb(42, 126, 161)
HSLhsl(198, 59%, 40%)
OKLCHoklch(55.9% 0.095 230)

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 #2A7EA1 4.56:1 AA Lc -76.9 Fine for body text
Black text on #2A7EA1 4.59:1 AA Lc 32.7 Non-text elements, placeholder text
#2A7EA1 text on white 4.56:1 AA Lc 71.4 Content text, not long reading
#2A7EA1 text on black 4.59:1 AA Lc -30.3 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #CADCE6

    oklch(88.4% 0.024 231.9)

  4. Step 300

    300

    #A5C6D7

    oklch(80.8% 0.043 230.3)

  5. Step 400

    400

    #73A9C3

    oklch(70.7% 0.068 229.7)

  6. Step 500

    500

    #4B93B4

    oklch(63% 0.087 230.1)

  7. Step 600

    600 (this color)

    #2A7EA1

    oklch(55.9% 0.095 230)

  8. Step 700

    700

    #1A6989

    oklch(49% 0.089 230.4)

  9. Step 800

    800

    #19566F

    oklch(42.7% 0.073 229.7)

  10. Step 900

    900

    #1C475A

    oklch(37.7% 0.057 230)

  11. Step 950

    950

    #122A35

    oklch(27.1% 0.036 229.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A7EA1 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)#6C7CA30.066
Deuteranopia (no green cones)#5C71A10.056
Tritanopia (no blue cones)#00888A0.056
Achromatopsia (no color)#7676760.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7EA1

    #2A7EA1

    oklch(55.9% 0.095 230)

  • #A1633F

    #A1633F

    oklch(56% 0.095 50)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7EA1

    #2A7EA1

    oklch(55.9% 0.095 230)

  • #00848A

    #00848A

    oklch(55.8% 0.095 200.4)

  • #5374AC

    #5374AC

    oklch(55.9% 0.096 260.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A7EA1

    #2A7EA1

    oklch(55.9% 0.095 230)

  • #A55C5D

    #A55C5D

    oklch(55.9% 0.096 19.7)

  • #916D2A

    #916D2A

    oklch(55.8% 0.095 79.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7EA1

    #2A7EA1

    oklch(55.9% 0.095 230)

  • #9E5C7C

    #9E5C7C

    oklch(55.9% 0.095 350.1)

  • #787930

    #787930

    oklch(56% 0.095 109.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7EA1

    #2A7EA1

    oklch(55.9% 0.095 230)

  • #8D6197

    #8D6197

    oklch(55.9% 0.096 320)

  • #A1633F

    #A1633F

    oklch(56% 0.095 50)

  • #55824B

    #55824B

    oklch(56% 0.096 140)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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