#297AEB

Closest named color: Clear Blue (#247AFD). oklch(59.4% 0.188 258), rgb(41, 122, 235).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.188)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.07:1
White text4.13:1

Values

HEX#297AEB
RGBrgb(41, 122, 235)
HSLhsl(215, 83%, 54%)
OKLCHoklch(59.4% 0.188 258)

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 #297AEB 4.13:1 AA large text Lc -73.4 Content text, not long reading
Black text on #297AEB 5.07:1 AA Lc 36.2 Non-text elements, placeholder text
#297AEB text on white 4.13:1 AA large text Lc 67.9 Content text, not long reading
#297AEB text on black 5.07:1 AA Lc -33.8 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

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FC

    oklch(81% 0.091 257.8)

  5. Step 400

    400

    #64A1FB

    oklch(70.8% 0.147 258)

  6. Step 500

    500 (this color)

    #297AEB

    oklch(59.4% 0.188 258)

  7. Step 600

    600

    #046CE7

    oklch(55.6% 0.204 258)

  8. Step 700

    700

    #005AC5

    oklch(49.1% 0.183 258.1)

  9. Step 800

    800

    #014AA2

    oklch(42.7% 0.156 257.8)

  10. Step 900

    900

    #0F3F81

    oklch(37.8% 0.122 258)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#297AEB 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)#3786EF0.034
Deuteranopia (no green cones)#0075E90.021
Tritanopia (no blue cones)#0095A70.143
Achromatopsia (no color)#7D7D7D0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #297AEB

    #297AEB

    oklch(59.4% 0.188 258)

  • #A67300

    #A67300

    oklch(59.3% 0.124 77.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #297AEB

    #297AEB

    oklch(59.4% 0.188 258)

  • #008BB4

    #008BB4

    oklch(59.4% 0.116 227.7)

  • #7D64E5

    #7D64E5

    oklch(59.3% 0.188 288.2)

Open the analogous palette in the generator

Split complementary

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

  • #297AEB

    #297AEB

    oklch(59.4% 0.188 258)

  • #C85900

    #C85900

    oklch(59.4% 0.162 48.1)

  • #868300

    #868300

    oklch(59.3% 0.128 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #297AEB

    #297AEB

    oklch(59.4% 0.188 258)

  • #D73F52

    #D73F52

    oklch(59.4% 0.188 18.1)

  • #3C9600

    #3C9600

    oklch(59.5% 0.184 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #297AEB

    #297AEB

    oklch(59.4% 0.188 258)

  • #C94292

    #C94292

    oklch(59.4% 0.188 347.8)

  • #A67300

    #A67300

    oklch(59.3% 0.124 77.8)

  • #009570

    #009570

    oklch(59.5% 0.121 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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