#1252CF

Closest named color: Blue Blue (#2242C7). oklch(48.5% 0.203 262), rgb(18, 82, 207).

Aa

White text reads best on this color (6.70:1).

About this color

#1252CF is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.203 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.037 away. White text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.203)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.13:1
White text6.70:1

Values

HEX#1252CF
RGBrgb(18, 82, 207)
HSLhsl(220, 84%, 44%)
OKLCHoklch(48.5% 0.203 262)

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 #1252CF 6.70:1 AA Lc -87.3 Fine for body text
Black text on #1252CF 3.13:1 AA large text Lc 21.8 Dividers and decoration only
#1252CF text on white 6.70:1 AA Lc 82.2 Fine for body text
#1252CF text on black 3.13:1 AA large text Lc -19.7 Dividers and decoration only

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

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C6DAFE

    oklch(88.5% 0.054 262.2)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4282FF

    oklch(63.2% 0.198 262)

  7. Step 600

    600

    #2166F0

    oklch(55.5% 0.219 262.1)

  8. Step 700

    700 (this color)

    #1252CF

    oklch(48.5% 0.203 262)

  9. Step 800

    800

    #1346A9

    oklch(42.8% 0.168 261.9)

  10. Step 900

    900

    #173C86

    oklch(37.7% 0.131 262.2)

  11. Step 950

    950

    #0E244E

    oklch(27% 0.082 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#1252CF 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)#0065D30.046
Deuteranopia (no green cones)#0054CD0.007
Tritanopia (no blue cones)#0073880.156
Achromatopsia (no color)#5C5C5C0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #1252CF

    #1252CF

    oklch(48.5% 0.203 262)

  • #7B5800

    #7B5800

    oklch(48.5% 0.1 81.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1252CF

    #1252CF

    oklch(48.5% 0.203 262)

  • #00688D

    #00688D

    oklch(48.6% 0.099 231.8)

  • #6739C5

    #6739C5

    oklch(48.5% 0.204 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #1252CF

    #1252CF

    oklch(48.5% 0.203 262)

  • #944600

    #944600

    oklch(48.5% 0.125 51.9)

  • #616400

    #616400

    oklch(48.4% 0.107 111.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1252CF

    #1252CF

    oklch(48.5% 0.203 262)

  • #B30026

    #B30026

    oklch(48.4% 0.195 22.1)

  • #097400

    #097400

    oklch(48.5% 0.163 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1252CF

    #1252CF

    oklch(48.5% 0.203 262)

  • #AA006B

    #AA006B

    oklch(48.5% 0.201 351.8)

  • #7B5800

    #7B5800

    oklch(48.5% 0.1 81.7)

  • #007059

    #007059

    oklch(48.6% 0.094 172)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #1252CF.

Similar named colors

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

Use #1252CF 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.