#2898E7

Closest named color: Chefchaouen Blue (#4895EF). oklch(65.7% 0.152 245.3), rgb(40, 152, 231).

Aa

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

About this color

#2898E7 is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.152 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.025 away. Black text reads best on it, at 6.73:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.152)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.73:1
White text3.11:1

Values

HEX#2898E7
RGBrgb(40, 152, 231)
HSLhsl(205, 80%, 53%)
OKLCHoklch(65.7% 0.152 245.3)

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 #2898E7 3.11:1 AA large text Lc -63.1 Content text, not long reading
Black text on #2898E7 6.73:1 AA Lc 46.3 Large or bold text, headings
#2898E7 text on white 3.11:1 AA large text Lc 57.7 Large or bold text, headings
#2898E7 text on black 6.73:1 AA Lc -44.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 500.

  1. Step 50

    50

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C3DDF3

    oklch(88.5% 0.041 243.7)

  4. Step 300

    300

    #99C6EE

    oklch(80.9% 0.074 245.7)

  5. Step 400

    400

    #5CA7E6

    oklch(70.6% 0.119 245.9)

  6. Step 500

    500 (this color)

    #2898E7

    oklch(65.7% 0.152 245.3)

  7. Step 600

    600

    #0079BF

    oklch(55.7% 0.14 245)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #004570

    oklch(37.7% 0.095 244.9)

  11. Step 950

    950

    #052943

    oklch(27.1% 0.062 245.1)

Export this scale for Tailwind in the Tailwind colors tool

#2898E7 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)#739BEA0.062
Deuteranopia (no green cones)#578AE60.045
Tritanopia (no blue cones)#00ABB50.105
Achromatopsia (no color)#9292920.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #2898E7

    #2898E7

    oklch(65.7% 0.152 245.3)

  • #CD7B00

    #CD7B00

    oklch(65.7% 0.147 65.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2898E7

    #2898E7

    oklch(65.7% 0.152 245.3)

  • #00A2BE

    #00A2BE

    oklch(65.6% 0.116 215.9)

  • #7887ED

    #7887ED

    oklch(65.8% 0.152 275.1)

Open the analogous palette in the generator

Split complementary

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

  • #2898E7

    #2898E7

    oklch(65.7% 0.152 245.3)

  • #DE6A4D

    #DE6A4D

    oklch(65.8% 0.152 35.2)

  • #AB8F00

    #AB8F00

    oklch(65.6% 0.135 95)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2898E7

    #2898E7

    oklch(65.7% 0.152 245.3)

  • #DB6484

    #DB6484

    oklch(65.6% 0.152 5.3)

  • #7CA024

    #7CA024

    oklch(65.6% 0.151 125)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2898E7

    #2898E7

    oklch(65.7% 0.152 245.3)

  • #C86AB5

    #C86AB5

    oklch(65.7% 0.15 335.2)

  • #CD7B00

    #CD7B00

    oklch(65.7% 0.147 65.2)

  • #23AC67

    #23AC67

    oklch(65.8% 0.152 155.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2898E7 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.