#0FA2F5

Closest named color: Chefchaouen Blue (#4895EF). oklch(68.4% 0.163 243.1), rgb(15, 162, 245).

Aa

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

About this color

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

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

Values

HEX#0FA2F5
RGBrgb(15, 162, 245)
HSLhsl(202, 92%, 51%)
OKLCHoklch(68.4% 0.163 243.1)

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 #0FA2F5 2.79:1 Fails Lc -58.4 Large or bold text, headings
Black text on #0FA2F5 7.50:1 AAA Lc 50.8 Large or bold text, headings
#0FA2F5 text on white 2.79:1 Fails Lc 53.2 Large or bold text, headings
#0FA2F5 text on black 7.50:1 AAA Lc -48.7 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

    #85C8FD

    oklch(80.8% 0.102 243.3)

  5. Step 400

    400 (this color)

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  6. Step 500

    500

    #0091DD

    oklch(63.1% 0.152 242.9)

  7. Step 600

    600

    #007ABB

    oklch(55.7% 0.134 242.9)

  8. Step 700

    700

    #00669E

    oklch(49% 0.119 243.2)

  9. Step 800

    800

    #005483

    oklch(42.8% 0.104 243)

  10. Step 900

    900

    #00466E

    oklch(37.8% 0.091 242.8)

  11. Step 950

    950

    #002943

    oklch(27% 0.065 242.6)

Export this scale for Tailwind in the Tailwind colors tool

#0FA2F5 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)#7AA5F90.073
Deuteranopia (no green cones)#5B92F30.053
Tritanopia (no blue cones)#00B7C00.112
Achromatopsia (no color)#9A9A9A0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #0FA2F5

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  • #DB8000

    #DB8000

    oklch(68.4% 0.156 63)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0FA2F5

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  • #00ACC6

    #00ACC6

    oklch(68.4% 0.12 213.5)

  • #7A8FFD

    #7A8FFD

    oklch(68.4% 0.163 273.2)

Open the analogous palette in the generator

Split complementary

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

  • #0FA2F5

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  • #EC6D54

    #EC6D54

    oklch(68.3% 0.163 32.7)

  • #B79600

    #B79600

    oklch(68.3% 0.14 93.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0FA2F5

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  • #E86890

    #E86890

    oklch(68.3% 0.163 2.8)

  • #87A915

    #87A915

    oklch(68.5% 0.163 123.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0FA2F5

    #0FA2F5

    oklch(68.4% 0.163 243.1)

  • #D36FC4

    #D36FC4

    oklch(68.4% 0.163 333.1)

  • #DB8000

    #DB8000

    oklch(68.4% 0.156 63)

  • #2AB567

    #2AB567

    oklch(68.3% 0.162 153.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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