#297FEF

Closest named color: Clear Blue (#247AFD). oklch(60.7% 0.187 257.1), rgb(41, 127, 239).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.187)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.37:1
White text3.90:1

Values

HEX#297FEF
RGBrgb(41, 127, 239)
HSLhsl(214, 86%, 55%)
OKLCHoklch(60.7% 0.187 257.1)

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 #297FEF 3.90:1 AA large text Lc -71.4 Content text, not long reading
Black text on #297FEF 5.37:1 AA Lc 38.2 Non-text elements, placeholder text
#297FEF text on white 3.90:1 AA large text Lc 65.9 Content text, not long reading
#297FEF text on black 5.37:1 AA Lc -35.7 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9BC3FC

    oklch(80.9% 0.092 257.2)

  5. Step 400

    400

    #62A1FA

    oklch(70.6% 0.147 257.2)

  6. Step 500

    500 (this color)

    #297FEF

    oklch(60.7% 0.187 257.1)

  7. Step 600

    600

    #006EE3

    oklch(55.7% 0.197 256.9)

  8. Step 700

    700

    #005CC1

    oklch(49.2% 0.175 257.1)

  9. Step 800

    800

    #004BA0

    oklch(42.8% 0.152 257.1)

  10. Step 900

    900

    #0C3F80

    oklch(37.6% 0.122 257.2)

  11. Step 950

    950

    #0A264B

    oklch(27.1% 0.076 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#297FEF 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)#3F8AF30.035
Deuteranopia (no green cones)#0079ED0.023
Tritanopia (no blue cones)#009AAB0.142
Achromatopsia (no color)#8181810.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #297FEF

    #297FEF

    oklch(60.7% 0.187 257.1)

  • #AC7600

    #AC7600

    oklch(60.6% 0.127 76.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297FEF

    #297FEF

    oklch(60.7% 0.187 257.1)

  • #008FB8

    #008FB8

    oklch(60.6% 0.117 227)

  • #7F69EA

    #7F69EA

    oklch(60.7% 0.187 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #297FEF

    #297FEF

    oklch(60.7% 0.187 257.1)

  • #CF5A00

    #CF5A00

    oklch(60.6% 0.168 47)

  • #8C8700

    #8C8700

    oklch(60.8% 0.13 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297FEF

    #297FEF

    oklch(60.7% 0.187 257.1)

  • #DB4458

    #DB4458

    oklch(60.7% 0.187 17.3)

  • #449A00

    #449A00

    oklch(60.8% 0.185 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297FEF

    #297FEF

    oklch(60.7% 0.187 257.1)

  • #CD4897

    #CD4897

    oklch(60.8% 0.186 347.4)

  • #AC7600

    #AC7600

    oklch(60.6% 0.127 76.9)

  • #009972

    #009972

    oklch(60.6% 0.124 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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