#12A8FF

Closest named color: Chefchaouen Blue (#4895EF). oklch(70.4% 0.168 243.5), rgb(18, 168, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.168)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text8.07:1
White text2.60:1

Values

HEX#12A8FF
RGBrgb(18, 168, 255)
HSLhsl(202, 100%, 54%)
OKLCHoklch(70.4% 0.168 243.5)

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 #12A8FF 2.60:1 Fails Lc -55.3 Large or bold text, headings
Black text on #12A8FF 8.07:1 AAA Lc 53.9 Large or bold text, headings
#12A8FF text on white 2.60:1 Fails Lc 50.2 Large or bold text, headings
#12A8FF text on black 8.07:1 AAA Lc -51.8 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

    #D9EDFD

    oklch(93.6% 0.03 242)

  3. Step 200

    200

    #B9DEFD

    oklch(88.4% 0.058 243.7)

  4. Step 300

    300

    #84C8FF

    oklch(80.8% 0.104 244)

  5. Step 400

    400 (this color)

    #12A8FF

    oklch(70.4% 0.168 243.5)

  6. Step 500

    500

    #0091DE

    oklch(63.1% 0.153 243.2)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005383

    oklch(42.6% 0.105 243.8)

  10. Step 900

    900

    #00456E

    oklch(37.6% 0.092 243.7)

  11. Step 950

    950

    #002944

    oklch(27% 0.066 243.6)

Export this scale for Tailwind in the Tailwind colors tool

#12A8FF 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)#7EABFF0.073
Deuteranopia (no green cones)#5E98FD0.053
Tritanopia (no blue cones)#00BDC80.113
Achromatopsia (no color)#A0A0A00.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #12A8FF

    #12A8FF

    oklch(70.4% 0.168 243.5)

  • #E38600

    #E38600

    oklch(70.4% 0.16 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12A8FF

    #12A8FF

    oklch(70.4% 0.168 243.5)

  • #00B3CE

    #00B3CE

    oklch(70.5% 0.124 213.5)

  • #8296FF

    #8296FF

    oklch(70.4% 0.155 273.6)

Open the analogous palette in the generator

Split complementary

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

  • #12A8FF

    #12A8FF

    oklch(70.4% 0.168 243.5)

  • #F67256

    #F67256

    oklch(70.5% 0.168 33.5)

  • #BE9C00

    #BE9C00

    oklch(70.3% 0.144 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12A8FF

    #12A8FF

    oklch(70.4% 0.168 243.5)

  • #F26C94

    #F26C94

    oklch(70.4% 0.169 3.7)

  • #8BB016

    #8BB016

    oklch(70.5% 0.169 123.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12A8FF

    #12A8FF

    oklch(70.4% 0.168 243.5)

  • #DC73CB

    #DC73CB

    oklch(70.4% 0.168 333.6)

  • #E38600

    #E38600

    oklch(70.4% 0.16 63.7)

  • #27BD6C

    #27BD6C

    oklch(70.5% 0.169 153.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12A8FF 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.