#297FDC

Closest named color: Water Blue (#0E87CC). oklch(59.4% 0.163 253.8), rgb(41, 127, 220).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.163)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.16:1
White text4.06:1

Values

HEX#297FDC
RGBrgb(41, 127, 220)
HSLhsl(211, 72%, 51%)
OKLCHoklch(59.4% 0.163 253.8)

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 #297FDC 4.06:1 AA large text Lc -72.9 Content text, not long reading
Black text on #297FDC 5.16:1 AA Lc 36.7 Non-text elements, placeholder text
#297FDC text on white 4.06:1 AA large text Lc 67.4 Content text, not long reading
#297FDC text on black 5.16:1 AA Lc -34.3 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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9DC4F4

    oklch(80.9% 0.08 253.9)

  5. Step 400

    400

    #65A4EE

    oklch(70.8% 0.127 253.5)

  6. Step 500

    500 (this color)

    #297FDC

    oklch(59.4% 0.163 253.8)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #0F4278

    oklch(37.8% 0.106 253.7)

  11. Step 950

    950

    #0B2746

    oklch(27% 0.067 253.4)

Export this scale for Tailwind in the Tailwind colors tool

#297FDC 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)#5087E00.040
Deuteranopia (no green cones)#2E77DA0.021
Tritanopia (no blue cones)#0095A30.121
Achromatopsia (no color)#7E7E7E0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #297FDC

    #297FDC

    oklch(59.4% 0.163 253.8)

  • #AB7100

    #AB7100

    oklch(59.5% 0.126 73.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297FDC

    #297FDC

    oklch(59.4% 0.163 253.8)

  • #008CAF

    #008CAF

    oklch(59.4% 0.111 223.6)

  • #756CDB

    #756CDB

    oklch(59.4% 0.164 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #297FDC

    #297FDC

    oklch(59.4% 0.163 253.8)

  • #CA5618

    #CA5618

    oklch(59.4% 0.163 43.7)

  • #8C8100

    #8C8100

    oklch(59.4% 0.125 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297FDC

    #297FDC

    oklch(59.4% 0.163 253.8)

  • #CC4C61

    #CC4C61

    oklch(59.4% 0.162 13.7)

  • #539213

    #539213

    oklch(59.4% 0.163 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297FDC

    #297FDC

    oklch(59.4% 0.163 253.8)

  • #BE5096

    #BE5096

    oklch(59.5% 0.162 344.1)

  • #AB7100

    #AB7100

    oklch(59.5% 0.126 73.6)

  • #009669

    #009669

    oklch(59.6% 0.128 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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