#2F8CEC

Closest named color: Dark Sky Blue (#448EE4). oklch(63.5% 0.168 252.8), rgb(47, 140, 236).

Aa

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

About this color

#2F8CEC is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.168 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.020 away. Black text reads best on it, at 6.08:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.168)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.08:1
White text3.45:1

Values

HEX#2F8CEC
RGBrgb(47, 140, 236)
HSLhsl(210, 83%, 55%)
OKLCHoklch(63.5% 0.168 252.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 #2F8CEC 3.45:1 AA large text Lc -67.0 Content text, not long reading
Black text on #2F8CEC 6.08:1 AA Lc 42.5 Non-text elements, placeholder text
#2F8CEC text on white 3.45:1 AA large text Lc 61.6 Content text, not long reading
#2F8CEC text on black 6.08:1 AA Lc -40.1 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

    #C4DCF7

    oklch(88.5% 0.045 251.4)

  4. Step 300

    300

    #9BC4F5

    oklch(80.8% 0.082 253.2)

  5. Step 400

    400

    #61A4F0

    oklch(70.7% 0.131 252.8)

  6. Step 500

    500 (this color)

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  7. Step 600

    600

    #0073D3

    oklch(55.6% 0.171 252.9)

  8. Step 700

    700

    #0061B2

    oklch(49.2% 0.149 252.5)

  9. Step 800

    800

    #004F94

    oklch(42.8% 0.131 252.8)

  10. Step 900

    900

    #084279

    oklch(37.7% 0.109 252.7)

  11. Step 950

    950

    #092747

    oklch(27% 0.069 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F8CEC 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)#5D93F00.044
Deuteranopia (no green cones)#3C82EA0.026
Tritanopia (no blue cones)#00A3B00.126
Achromatopsia (no color)#8A8A8A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F8CEC

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  • #BB7B00

    #BB7B00

    oklch(63.4% 0.135 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F8CEC

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  • #0099BE

    #0099BE

    oklch(63.4% 0.118 223)

  • #7E79EB

    #7E79EB

    oklch(63.5% 0.167 282.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F8CEC

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  • #DA6127

    #DA6127

    oklch(63.5% 0.167 43.1)

  • #9A8D00

    #9A8D00

    oklch(63.5% 0.133 103)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F8CEC

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  • #DC566D

    #DC566D

    oklch(63.4% 0.168 12.9)

  • #609F1C

    #609F1C

    oklch(63.6% 0.168 132.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F8CEC

    #2F8CEC

    oklch(63.5% 0.168 252.8)

  • #CC5AA5

    #CC5AA5

    oklch(63.3% 0.168 342.7)

  • #BB7B00

    #BB7B00

    oklch(63.4% 0.135 72.9)

  • #00A472

    #00A472

    oklch(63.6% 0.138 162.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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