#2F8CEF

Closest named color: Dark Sky Blue (#448EE4). oklch(63.6% 0.171 253.4), rgb(47, 140, 239).

Aa

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

About this color

#2F8CEF is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.171 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.023 away. Black text reads best on it, at 6.11:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.171)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.11:1
White text3.43:1

Values

HEX#2F8CEF
RGBrgb(47, 140, 239)
HSLhsl(211, 86%, 56%)
OKLCHoklch(63.6% 0.171 253.4)

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 #2F8CEF 3.43:1 AA large text Lc -66.8 Content text, not long reading
Black text on #2F8CEF 6.11:1 AA Lc 42.7 Non-text elements, placeholder text
#2F8CEF text on white 3.43:1 AA large text Lc 61.4 Content text, not long reading
#2F8CEF text on black 6.11:1 AA Lc -40.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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C4DCF8

    oklch(88.6% 0.047 252.4)

  4. Step 300

    300

    #9BC4F6

    oklch(80.9% 0.084 253.7)

  5. Step 400

    400

    #61A4F2

    oklch(70.8% 0.134 253.4)

  6. Step 500

    500 (this color)

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  7. Step 600

    600

    #0073D5

    oklch(55.7% 0.173 253.3)

  8. Step 700

    700

    #0060B4

    oklch(49.1% 0.153 253.4)

  9. Step 800

    800

    #004E95

    oklch(42.6% 0.134 253.6)

  10. Step 900

    900

    #07417B

    oklch(37.6% 0.113 253.8)

  11. Step 950

    950

    #082748

    oklch(27.1% 0.071 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F8CEF 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)#5B94F30.043
Deuteranopia (no green cones)#3883ED0.023
Tritanopia (no blue cones)#00A4B20.129
Achromatopsia (no color)#8A8A8A0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F8CEF

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  • #BB7C00

    #BB7C00

    oklch(63.6% 0.135 73.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F8CEF

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  • #009AC0

    #009AC0

    oklch(63.7% 0.119 223.5)

  • #8078EE

    #8078EE

    oklch(63.6% 0.172 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F8CEF

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  • #DC6021

    #DC6021

    oklch(63.6% 0.171 43.5)

  • #9A8E00

    #9A8E00

    oklch(63.7% 0.134 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F8CEF

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  • #DE556C

    #DE556C

    oklch(63.5% 0.171 13.3)

  • #5EA01A

    #5EA01A

    oklch(63.7% 0.171 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F8CEF

    #2F8CEF

    oklch(63.6% 0.171 253.4)

  • #CF59A5

    #CF59A5

    oklch(63.6% 0.172 343.6)

  • #BB7C00

    #BB7C00

    oklch(63.6% 0.135 73.6)

  • #00A473

    #00A473

    oklch(63.6% 0.137 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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