#297FDE

Closest named color: Water Blue (#0E87CC). oklch(59.6% 0.165 254.2), rgb(41, 127, 222).

Aa

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

About this color

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

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

Values

HEX#297FDE
RGBrgb(41, 127, 222)
HSLhsl(211, 73%, 52%)
OKLCHoklch(59.6% 0.165 254.2)

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 #297FDE 4.05:1 AA large text Lc -72.7 Content text, not long reading
Black text on #297FDE 5.18:1 AA Lc 36.8 Non-text elements, placeholder text
#297FDE text on white 4.05:1 AA large text Lc 67.2 Content text, not long reading
#297FDE text on black 5.18:1 AA Lc -34.4 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

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C5DBF7

    oklch(88.4% 0.045 254.5)

  4. Step 300

    300

    #9DC4F4

    oklch(80.9% 0.08 253.9)

  5. Step 400

    400

    #65A3EF

    oklch(70.6% 0.129 254.4)

  6. Step 500

    500 (this color)

    #297FDE

    oklch(59.6% 0.165 254.2)

  7. Step 600

    600

    #0072D8

    oklch(55.7% 0.178 254.2)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #004E97

    oklch(42.8% 0.136 254.1)

  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

#297FDE 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)#4E87E20.038
Deuteranopia (no green cones)#2B77DC0.021
Tritanopia (no blue cones)#0096A40.124
Achromatopsia (no color)#7E7E7E0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #297FDE

    #297FDE

    oklch(59.6% 0.165 254.2)

  • #AB7200

    #AB7200

    oklch(59.7% 0.126 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297FDE

    #297FDE

    oklch(59.6% 0.165 254.2)

  • #008CB0

    #008CB0

    oklch(59.5% 0.112 224.2)

  • #766CDC

    #766CDC

    oklch(59.5% 0.165 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #297FDE

    #297FDE

    oklch(59.6% 0.165 254.2)

  • #CB5612

    #CB5612

    oklch(59.5% 0.165 44.4)

  • #8C8200

    #8C8200

    oklch(59.7% 0.126 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297FDE

    #297FDE

    oklch(59.6% 0.165 254.2)

  • #CE4B60

    #CE4B60

    oklch(59.6% 0.166 14.2)

  • #519311

    #519311

    oklch(59.6% 0.166 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297FDE

    #297FDE

    oklch(59.6% 0.165 254.2)

  • #BF4F96

    #BF4F96

    oklch(59.5% 0.164 344.3)

  • #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 #297FDE, closest first.

Similar named colors

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

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