#297FE8

Closest named color: Clear Blue (#247AFD). oklch(60.2% 0.178 256), rgb(41, 127, 232).

Aa

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

About this color

#297FE8 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.178 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.035 away. Black text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.178)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.29:1
White text3.96:1

Values

HEX#297FE8
RGBrgb(41, 127, 232)
HSLhsl(213, 81%, 54%)
OKLCHoklch(60.2% 0.178 256)

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 #297FE8 3.96:1 AA large text Lc -72.0 Content text, not long reading
Black text on #297FE8 5.29:1 AA Lc 37.6 Non-text elements, placeholder text
#297FE8 text on white 3.96:1 AA large text Lc 66.5 Content text, not long reading
#297FE8 text on black 5.29:1 AA Lc -35.2 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBF9

    oklch(88.5% 0.048 256.2)

  4. Step 300

    300

    #9CC3F9

    oklch(80.9% 0.088 256.6)

  5. Step 400

    400

    #63A2F6

    oklch(70.7% 0.14 256.1)

  6. Step 500

    500 (this color)

    #297FE8

    oklch(60.2% 0.178 256)

  7. Step 600

    600

    #006FDF

    oklch(55.6% 0.191 256.1)

  8. Step 700

    700

    #005DBD

    oklch(49.1% 0.169 256.1)

  9. Step 800

    800

    #004C9C

    oklch(42.7% 0.146 256)

  10. Step 900

    900

    #0D407D

    oklch(37.6% 0.116 256.1)

  11. Step 950

    950

    #0A2649

    oklch(26.9% 0.073 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#297FE8 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)#4689EC0.036
Deuteranopia (no green cones)#1478E60.022
Tritanopia (no blue cones)#0098A80.134
Achromatopsia (no color)#8080800.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #297FE8

    #297FE8

    oklch(60.2% 0.178 256)

  • #AB7400

    #AB7400

    oklch(60.1% 0.126 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297FE8

    #297FE8

    oklch(60.2% 0.178 256)

  • #008EB5

    #008EB5

    oklch(60.2% 0.115 225.9)

  • #7B6AE4

    #7B6AE4

    oklch(60.1% 0.178 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #297FE8

    #297FE8

    oklch(60.2% 0.178 256)

  • #CF5700

    #CF5700

    oklch(60.2% 0.17 45.7)

  • #8C8500

    #8C8500

    oklch(60.3% 0.129 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297FE8

    #297FE8

    oklch(60.2% 0.178 256)

  • #D6475B

    #D6475B

    oklch(60.3% 0.178 16.2)

  • #499703

    #499703

    oklch(60.2% 0.178 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297FE8

    #297FE8

    oklch(60.2% 0.178 256)

  • #C74B97

    #C74B97

    oklch(60.2% 0.177 346)

  • #AB7400

    #AB7400

    oklch(60.1% 0.126 75.9)

  • #00986F

    #00986F

    oklch(60.3% 0.125 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #297FE8 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.