#2898F7

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.6% 0.17 249.6), rgb(40, 152, 247).

Aa

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

About this color

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

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

Values

HEX#2898F7
RGBrgb(40, 152, 247)
HSLhsl(208, 93%, 56%)
OKLCHoklch(66.6% 0.17 249.6)

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 #2898F7 3.03:1 AA large text Lc -61.9 Content text, not long reading
Black text on #2898F7 6.92:1 AA Lc 47.5 Large or bold text, headings
#2898F7 text on white 3.03:1 AA large text Lc 56.6 Large or bold text, headings
#2898F7 text on black 6.92:1 AA Lc -45.2 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

    #97C5F5

    oklch(80.8% 0.084 250)

  5. Step 400

    400

    #59A6F0

    oklch(70.8% 0.133 249.4)

  6. Step 500

    500 (this color)

    #2898F7

    oklch(66.6% 0.17 249.6)

  7. Step 600

    600

    #0076CA

    oklch(55.7% 0.156 249.7)

  8. Step 700

    700

    #0063AB

    oklch(49.2% 0.138 249.7)

  9. Step 800

    800

    #00518D

    oklch(42.7% 0.12 249.5)

  10. Step 900

    900

    #004377

    oklch(37.7% 0.106 249.9)

  11. Step 950

    950

    #042847

    oklch(27.1% 0.07 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#2898F7 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)#6A9EFB0.055
Deuteranopia (no green cones)#498CF50.033
Tritanopia (no blue cones)#00AFBB0.125
Achromatopsia (no color)#9494940.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #2898F7

    #2898F7

    oklch(66.6% 0.17 249.6)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2898F7

    #2898F7

    oklch(66.6% 0.17 249.6)

  • #00A5C7

    #00A5C7

    oklch(66.7% 0.121 219.5)

  • #8184F9

    #8184F9

    oklch(66.6% 0.17 279.6)

Open the analogous palette in the generator

Split complementary

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

  • #2898F7

    #2898F7

    oklch(66.6% 0.17 249.6)

  • #E86839

    #E86839

    oklch(66.7% 0.17 39.8)

  • #A99500

    #A99500

    oklch(66.7% 0.139 99.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2898F7

    #2898F7

    oklch(66.6% 0.17 249.6)

  • #E85F7D

    #E85F7D

    oklch(66.7% 0.171 9.5)

  • #71A719

    #71A719

    oklch(66.6% 0.17 129.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2898F7

    #2898F7

    oklch(66.6% 0.17 249.6)

  • #D564B5

    #D564B5

    oklch(66.5% 0.17 339.5)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

  • #00AF72

    #00AF72

    oklch(66.5% 0.151 159.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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