#2898E4

Closest named color: Chefchaouen Blue (#4895EF). oklch(65.5% 0.148 244.3), rgb(40, 152, 228).

Aa

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

About this color

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

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

Values

HEX#2898E4
RGBrgb(40, 152, 228)
HSLhsl(204, 78%, 53%)
OKLCHoklch(65.5% 0.148 244.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 #2898E4 3.13:1 AA large text Lc -63.3 Content text, not long reading
Black text on #2898E4 6.70:1 AA Lc 46.1 Large or bold text, headings
#2898E4 text on white 3.13:1 AA large text Lc 57.9 Large or bold text, headings
#2898E4 text on black 6.70:1 AA Lc -43.8 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

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C4DDF2

    oklch(88.6% 0.039 243.5)

  4. Step 300

    300

    #99C6ED

    oklch(80.8% 0.073 245)

  5. Step 400

    400

    #5CA8E4

    oklch(70.8% 0.116 244.3)

  6. Step 500

    500 (this color)

    #2898E4

    oklch(65.5% 0.148 244.3)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  10. Step 900

    900

    #00456F

    oklch(37.6% 0.093 244.3)

  11. Step 950

    950

    #052942

    oklch(27.1% 0.061 244.2)

Export this scale for Tailwind in the Tailwind colors tool

#2898E4 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)#749BE70.064
Deuteranopia (no green cones)#5A8AE30.047
Tritanopia (no blue cones)#00ABB30.104
Achromatopsia (no color)#9191910.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #2898E4

    #2898E4

    oklch(65.5% 0.148 244.3)

  • #CD7A00

    #CD7A00

    oklch(65.5% 0.147 64.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2898E4

    #2898E4

    oklch(65.5% 0.148 244.3)

  • #00A2BC

    #00A2BC

    oklch(65.5% 0.115 214.5)

  • #7687EA

    #7687EA

    oklch(65.5% 0.148 274.2)

Open the analogous palette in the generator

Split complementary

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

  • #2898E4

    #2898E4

    oklch(65.5% 0.148 244.3)

  • #DC6A50

    #DC6A50

    oklch(65.5% 0.149 34.1)

  • #AB8E00

    #AB8E00

    oklch(65.4% 0.134 94.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2898E4

    #2898E4

    oklch(65.5% 0.148 244.3)

  • #D96586

    #D96586

    oklch(65.6% 0.149 4.2)

  • #7E9F26

    #7E9F26

    oklch(65.5% 0.148 124.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2898E4

    #2898E4

    oklch(65.5% 0.148 244.3)

  • #C66BB5

    #C66BB5

    oklch(65.6% 0.147 334.5)

  • #CD7A00

    #CD7A00

    oklch(65.5% 0.147 64.6)

  • #2DAA66

    #2DAA66

    oklch(65.5% 0.148 154.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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