#2898F5

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.5% 0.168 249.2), rgb(40, 152, 245).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.168)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.90:1
White text3.04:1

Values

HEX#2898F5
RGBrgb(40, 152, 245)
HSLhsl(207, 91%, 56%)
OKLCHoklch(66.5% 0.168 249.2)

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 #2898F5 3.04:1 AA large text Lc -62.1 Content text, not long reading
Black text on #2898F5 6.90:1 AA Lc 47.3 Large or bold text, headings
#2898F5 text on white 3.04:1 AA large text Lc 56.7 Large or bold text, headings
#2898F5 text on black 6.90:1 AA Lc -45.0 Large or bold text, headings

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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEECFA

    oklch(93.7% 0.024 248.1)

  3. Step 200

    200

    #C3DCF7

    oklch(88.5% 0.046 250.4)

  4. Step 300

    300

    #97C5F4

    oklch(80.8% 0.083 249.4)

  5. Step 400

    400

    #59A6EF

    oklch(70.7% 0.132 249.1)

  6. Step 500

    500 (this color)

    #2898F5

    oklch(66.5% 0.168 249.2)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900

    #004376

    oklch(37.6% 0.105 249.5)

  11. Step 950

    950

    #042846

    oklch(27% 0.068 248.6)

Export this scale for Tailwind in the Tailwind colors tool

#2898F5 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)#6B9EF90.056
Deuteranopia (no green cones)#4B8CF30.034
Tritanopia (no blue cones)#00AEBB0.120
Achromatopsia (no color)#9494940.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #2898F5

    #2898F5

    oklch(66.5% 0.168 249.2)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2898F5

    #2898F5

    oklch(66.5% 0.168 249.2)

  • #00A4C6

    #00A4C6

    oklch(66.4% 0.121 219.6)

  • #8084F8

    #8084F8

    oklch(66.4% 0.169 279.3)

Open the analogous palette in the generator

Split complementary

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

  • #2898F5

    #2898F5

    oklch(66.5% 0.168 249.2)

  • #E6683C

    #E6683C

    oklch(66.4% 0.167 39.2)

  • #A99400

    #A99400

    oklch(66.5% 0.138 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2898F5

    #2898F5

    oklch(66.5% 0.168 249.2)

  • #E6607E

    #E6607E

    oklch(66.5% 0.168 9)

  • #72A61B

    #72A61B

    oklch(66.4% 0.168 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2898F5

    #2898F5

    oklch(66.5% 0.168 249.2)

  • #D465B5

    #D465B5

    oklch(66.5% 0.168 339.2)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

  • #00AF71

    #00AF71

    oklch(66.5% 0.152 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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