#0FA1F2

Closest named color: Chefchaouen Blue (#4895EF). oklch(68% 0.16 242.6), rgb(15, 161, 242).

Aa

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

About this color

#0FA1F2 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.160 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.036 away. Black text reads best on it, at 7.40:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.160)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.40:1
White text2.83:1

Values

HEX#0FA1F2
RGBrgb(15, 161, 242)
HSLhsl(201, 90%, 50%)
OKLCHoklch(68% 0.16 242.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 #0FA1F2 2.83:1 Fails Lc -59.1 Large or bold text, headings
Black text on #0FA1F2 7.40:1 AAA Lc 50.2 Large or bold text, headings
#0FA1F2 text on white 2.83:1 Fails Lc 53.8 Large or bold text, headings
#0FA1F2 text on black 7.40:1 AAA Lc -48.0 Large or bold text, headings

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 400.

  1. Step 50

    50

    #EEF7FE

    oklch(97.1% 0.013 241)

  2. Step 100

    100

    #DAEDFC

    oklch(93.7% 0.029 241.6)

  3. Step 200

    200

    #BADEFC

    oklch(88.4% 0.056 243.6)

  4. Step 300

    300

    #85C9FC

    oklch(81% 0.1 241.9)

  5. Step 400

    400 (this color)

    #0FA1F2

    oklch(68% 0.16 242.6)

  6. Step 500

    500

    #0091DC

    oklch(63% 0.151 242.6)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900

    #00466D

    oklch(37.8% 0.09 242.2)

  11. Step 950

    950

    #002943

    oklch(27% 0.065 242.6)

Export this scale for Tailwind in the Tailwind colors tool

#0FA1F2 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)#7AA4F50.073
Deuteranopia (no green cones)#5C91F10.054
Tritanopia (no blue cones)#00B5BE0.109
Achromatopsia (no color)#9999990.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #0FA1F2

    #0FA1F2

    oklch(68% 0.16 242.6)

  • #DA7F00

    #DA7F00

    oklch(68.1% 0.155 62.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0FA1F2

    #0FA1F2

    oklch(68% 0.16 242.6)

  • #00ABC3

    #00ABC3

    oklch(68% 0.119 212.2)

  • #788FFA

    #788FFA

    oklch(68.1% 0.159 272.4)

Open the analogous palette in the generator

Split complementary

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

  • #0FA1F2

    #0FA1F2

    oklch(68% 0.16 242.6)

  • #EA6D55

    #EA6D55

    oklch(68% 0.16 32.5)

  • #B79500

    #B79500

    oklch(68.1% 0.139 92.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0FA1F2

    #0FA1F2

    oklch(68% 0.16 242.6)

  • #E66890

    #E66890

    oklch(68.1% 0.161 2.4)

  • #87A716

    #87A716

    oklch(68% 0.16 122.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0FA1F2

    #0FA1F2

    oklch(68% 0.16 242.6)

  • #D16FC3

    #D16FC3

    oklch(68.1% 0.16 332.7)

  • #DA7F00

    #DA7F00

    oklch(68.1% 0.155 62.8)

  • #2EB466

    #2EB466

    oklch(68.1% 0.161 152.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0FA1F2 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.