#2F98EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.1% 0.156 247.6), rgb(47, 152, 236).

Aa

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

About this color

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

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

Values

HEX#2F98EC
RGBrgb(47, 152, 236)
HSLhsl(207, 83%, 55%)
OKLCHoklch(66.1% 0.156 247.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 #2F98EC 3.07:1 AA large text Lc -62.6 Content text, not long reading
Black text on #2F98EC 6.82:1 AA Lc 46.8 Large or bold text, headings
#2F98EC text on white 3.07:1 AA large text Lc 57.2 Large or bold text, headings
#2F98EC text on black 6.82:1 AA Lc -44.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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C4DCF4

    oklch(88.4% 0.042 248.3)

  4. Step 300

    300

    #99C6F0

    oklch(80.9% 0.076 247)

  5. Step 400

    400

    #5DA7E8

    oklch(70.8% 0.121 247)

  6. Step 500

    500 (this color)

    #2F98EC

    oklch(66.1% 0.156 247.6)

  7. Step 600

    600

    #0077C5

    oklch(55.6% 0.149 247.9)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #004474

    oklch(37.7% 0.101 247.8)

  11. Step 950

    950

    #062844

    oklch(27% 0.065 248)

Export this scale for Tailwind in the Tailwind colors tool

#2F98EC 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)#709CEF0.056
Deuteranopia (no green cones)#548BEA0.039
Tritanopia (no blue cones)#00ACB70.111
Achromatopsia (no color)#9393930.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F98EC

    #2F98EC

    oklch(66.1% 0.156 247.6)

  • #CC7E00

    #CC7E00

    oklch(66.1% 0.146 67.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F98EC

    #2F98EC

    oklch(66.1% 0.156 247.6)

  • #00A3C2

    #00A3C2

    oklch(66% 0.118 217.8)

  • #7D86F0

    #7D86F0

    oklch(66.1% 0.156 277.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F98EC

    #2F98EC

    oklch(66.1% 0.156 247.6)

  • #E06B47

    #E06B47

    oklch(66.1% 0.155 37.7)

  • #AA9200

    #AA9200

    oklch(66.2% 0.137 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F98EC

    #2F98EC

    oklch(66.1% 0.156 247.6)

  • #DF6481

    #DF6481

    oklch(66.1% 0.155 7.6)

  • #77A327

    #77A327

    oklch(66% 0.156 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F98EC

    #2F98EC

    oklch(66.1% 0.156 247.6)

  • #CD69B4

    #CD69B4

    oklch(66.1% 0.155 337.5)

  • #CC7E00

    #CC7E00

    oklch(66.1% 0.146 67.5)

  • #00AE6C

    #00AE6C

    oklch(66.1% 0.155 157.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F98EC 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.