#1A7CEF

Closest named color: Clear Blue (#247AFD). oklch(59.8% 0.193 256.3), rgb(26, 124, 239).

Aa

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

About this color

#1A7CEF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.193 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.023 away. Black text reads best on it, at 5.17:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.193)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.17:1
White text4.05:1

Values

HEX#1A7CEF
RGBrgb(26, 124, 239)
HSLhsl(212, 87%, 52%)
OKLCHoklch(59.8% 0.193 256.3)

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 #1A7CEF 4.05:1 AA large text Lc -72.6 Content text, not long reading
Black text on #1A7CEF 5.17:1 AA Lc 36.9 Non-text elements, placeholder text
#1A7CEF text on white 4.05:1 AA large text Lc 67.1 Content text, not long reading
#1A7CEF text on black 5.17:1 AA Lc -34.5 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFC

    oklch(88.4% 0.052 256.4)

  4. Step 300

    300

    #99C3FD

    oklch(80.8% 0.094 256.6)

  5. Step 400

    400

    #5EA2FD

    oklch(70.8% 0.151 256.3)

  6. Step 500

    500 (this color)

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #043F82

    oklch(37.6% 0.126 256.3)

  11. Step 950

    950

    #07264C

    oklch(27.1% 0.079 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#1A7CEF 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)#3688F30.037
Deuteranopia (no green cones)#0075ED0.021
Tritanopia (no blue cones)#0098AA0.145
Achromatopsia (no color)#7E7E7E0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A7CEF

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  • #A97300

    #A97300

    oklch(59.6% 0.125 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A7CEF

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  • #008CB4

    #008CB4

    oklch(59.7% 0.115 226.9)

  • #7B65EB

    #7B65EB

    oklch(59.7% 0.194 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #1A7CEF

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  • #CC5700

    #CC5700

    oklch(59.8% 0.167 46.3)

  • #8A8300

    #8A8300

    oklch(59.7% 0.127 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A7CEF

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  • #DA3C56

    #DA3C56

    oklch(59.7% 0.194 16.2)

  • #469600

    #469600

    oklch(59.8% 0.179 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A7CEF

    #1A7CEF

    oklch(59.8% 0.193 256.3)

  • #CB4197

    #CB4197

    oklch(59.8% 0.194 346.2)

  • #A97300

    #A97300

    oklch(59.6% 0.125 76.2)

  • #00966F

    #00966F

    oklch(59.7% 0.123 166.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1A7CEF 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.