#2797EA

Closest named color: Chefchaouen Blue (#4895EF). oklch(65.6% 0.156 246.6), rgb(39, 151, 234).

Aa

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

About this color

#2797EA is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.156 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.022 away. Black text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-light (66%)
Chromavivid (0.156)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.70:1
White text3.13:1

Values

HEX#2797EA
RGBrgb(39, 151, 234)
HSLhsl(206, 82%, 54%)
OKLCHoklch(65.6% 0.156 246.6)

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 #2797EA 3.13:1 AA large text Lc -63.3 Content text, not long reading
Black text on #2797EA 6.70:1 AA Lc 46.2 Large or bold text, headings
#2797EA text on white 3.13:1 AA large text Lc 57.9 Large or bold text, headings
#2797EA text on black 6.70:1 AA Lc -43.9 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DEECF8

    oklch(93.6% 0.022 243.8)

  3. Step 200

    200

    #C3DDF4

    oklch(88.6% 0.042 245)

  4. Step 300

    300

    #98C6F0

    oklch(80.9% 0.077 246.5)

  5. Step 400

    400

    #5BA7E8

    oklch(70.7% 0.122 246.4)

  6. Step 500

    500 (this color)

    #2797EA

    oklch(65.6% 0.156 246.6)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #004472

    oklch(37.6% 0.099 246.8)

  11. Step 950

    950

    #042844

    oklch(26.9% 0.065 247)

Export this scale for Tailwind in the Tailwind colors tool

#2797EA 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)#6F9BED0.059
Deuteranopia (no green cones)#538AE80.041
Tritanopia (no blue cones)#00ABB50.111
Achromatopsia (no color)#9191910.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #2797EA

    #2797EA

    oklch(65.6% 0.156 246.6)

  • #CB7C00

    #CB7C00

    oklch(65.6% 0.145 66.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2797EA

    #2797EA

    oklch(65.6% 0.156 246.6)

  • #00A2BF

    #00A2BF

    oklch(65.6% 0.117 216.5)

  • #7A85EF

    #7A85EF

    oklch(65.7% 0.157 276.7)

Open the analogous palette in the generator

Split complementary

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

  • #2797EA

    #2797EA

    oklch(65.6% 0.156 246.6)

  • #DF6847

    #DF6847

    oklch(65.5% 0.157 36.4)

  • #A99000

    #A99000

    oklch(65.6% 0.135 96.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2797EA

    #2797EA

    oklch(65.6% 0.156 246.6)

  • #DD6281

    #DD6281

    oklch(65.6% 0.156 6.7)

  • #78A121

    #78A121

    oklch(65.6% 0.156 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2797EA

    #2797EA

    oklch(65.6% 0.156 246.6)

  • #CB67B4

    #CB67B4

    oklch(65.6% 0.157 336.7)

  • #CB7C00

    #CB7C00

    oklch(65.6% 0.145 66.6)

  • #07AC68

    #07AC68

    oklch(65.5% 0.156 156.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2797EA 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.