#297FDF

Closest named color: Water Blue (#0E87CC). oklch(59.6% 0.167 254.4), rgb(41, 127, 223).

Aa

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

About this color

#297FDF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.167 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.041 away. Black text reads best on it, at 5.19:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.167)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.19:1
White text4.04:1

Values

HEX#297FDF
RGBrgb(41, 127, 223)
HSLhsl(212, 74%, 52%)
OKLCHoklch(59.6% 0.167 254.4)

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 #297FDF 4.04:1 AA large text Lc -72.7 Content text, not long reading
Black text on #297FDF 5.19:1 AA Lc 36.9 Non-text elements, placeholder text
#297FDF text on white 4.04:1 AA large text Lc 67.2 Content text, not long reading
#297FDF text on black 5.19:1 AA Lc -34.5 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF7

    oklch(88.4% 0.045 254.5)

  4. Step 300

    300

    #9DC4F5

    oklch(81% 0.081 254.4)

  5. Step 400

    400

    #65A3F0

    oklch(70.7% 0.131 254.6)

  6. Step 500

    500 (this color)

    #297FDF

    oklch(59.6% 0.167 254.4)

  7. Step 600

    600

    #0071D8

    oklch(55.5% 0.179 254.5)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E98

    oklch(42.8% 0.138 254.3)

  10. Step 900

    900

    #0E4179

    oklch(37.6% 0.109 254.5)

  11. Step 950

    950

    #0B2747

    oklch(27.1% 0.068 254.1)

Export this scale for Tailwind in the Tailwind colors tool

#297FDF 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)#4E87E30.038
Deuteranopia (no green cones)#2977DD0.021
Tritanopia (no blue cones)#0096A40.125
Achromatopsia (no color)#7E7E7E0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #297FDF

    #297FDF

    oklch(59.6% 0.167 254.4)

  • #AB7200

    #AB7200

    oklch(59.7% 0.126 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297FDF

    #297FDF

    oklch(59.6% 0.167 254.4)

  • #008CB1

    #008CB1

    oklch(59.5% 0.113 224.9)

  • #776CDD

    #776CDD

    oklch(59.7% 0.166 284.6)

Open the analogous palette in the generator

Split complementary

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

  • #297FDF

    #297FDF

    oklch(59.6% 0.167 254.4)

  • #CC560F

    #CC560F

    oklch(59.7% 0.166 44.6)

  • #8C8200

    #8C8200

    oklch(59.7% 0.126 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297FDF

    #297FDF

    oklch(59.6% 0.167 254.4)

  • #CF4B60

    #CF4B60

    oklch(59.7% 0.167 14.3)

  • #519310

    #519310

    oklch(59.6% 0.166 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297FDF

    #297FDF

    oklch(59.6% 0.167 254.4)

  • #C04E96

    #C04E96

    oklch(59.5% 0.167 344.5)

  • #AB7200

    #AB7200

    oklch(59.7% 0.126 74.4)

  • #00966B

    #00966B

    oklch(59.6% 0.126 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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