#2898FD

Closest named color: Dodger Blue (#1E90FF). oklch(67% 0.178 251), rgb(40, 152, 253).

Aa

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

About this color

#2898FD is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.178 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.023 away. Black text reads best on it, at 6.99:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.178)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.99:1
White text3.00:1

Values

HEX#2898FD
RGBrgb(40, 152, 253)
HSLhsl(208, 98%, 57%)
OKLCHoklch(67% 0.178 251)

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 #2898FD 3.00:1 AA large text Lc -61.5 Content text, not long reading
Black text on #2898FD 6.99:1 AA Lc 47.9 Large or bold text, headings
#2898FD text on white 3.00:1 AA large text Lc 56.1 Large or bold text, headings
#2898FD text on black 6.99:1 AA Lc -45.7 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 400.

  1. Step 50

    50

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DBECFF

    oklch(93.6% 0.032 251.1)

  3. Step 200

    200

    #BDDDFF

    oklch(88.5% 0.058 250.1)

  4. Step 300

    300

    #90C5FF

    oklch(80.8% 0.1 251.3)

  5. Step 400

    400 (this color)

    #2898FD

    oklch(67% 0.178 251)

  6. Step 500

    500

    #008BF3

    oklch(63.1% 0.184 251.1)

  7. Step 600

    600

    #0075CD

    oklch(55.6% 0.161 250.9)

  8. Step 700

    700

    #0062AE

    oklch(49.1% 0.143 251.1)

  9. Step 800

    800

    #005090

    oklch(42.7% 0.125 251.1)

  10. Step 900

    900

    #004379

    oklch(37.8% 0.109 250.7)

  11. Step 950

    950

    #00274B

    oklch(27% 0.079 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#2898FD 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)#669FFF0.051
Deuteranopia (no green cones)#428CFB0.031
Tritanopia (no blue cones)#00B0BE0.130
Achromatopsia (no color)#9595950.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #2898FD

    #2898FD

    oklch(67% 0.178 251)

  • #CC8300

    #CC8300

    oklch(67% 0.145 70.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2898FD

    #2898FD

    oklch(67% 0.178 251)

  • #00A5CA

    #00A5CA

    oklch(66.9% 0.123 221.4)

  • #8583FE

    #8583FE

    oklch(67% 0.178 281.2)

Open the analogous palette in the generator

Split complementary

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

  • #2898FD

    #2898FD

    oklch(67% 0.178 251)

  • #EC6730

    #EC6730

    oklch(67.1% 0.178 41)

  • #A89700

    #A89700

    oklch(67.1% 0.14 101.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2898FD

    #2898FD

    oklch(67% 0.178 251)

  • #EC5D7A

    #EC5D7A

    oklch(66.9% 0.177 10.9)

  • #6DAA13

    #6DAA13

    oklch(67.1% 0.178 131)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2898FD

    #2898FD

    oklch(67% 0.178 251)

  • #DA62B5

    #DA62B5

    oklch(66.9% 0.177 341)

  • #CC8300

    #CC8300

    oklch(67% 0.145 70.6)

  • #00B076

    #00B076

    oklch(66.9% 0.149 160.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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