#1252C6

Closest named color: Blue Blue (#2242C7). oklch(47.7% 0.191 261.4), rgb(18, 82, 198).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.191)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.04:1
White text6.88:1

Values

HEX#1252C6
RGBrgb(18, 82, 198)
HSLhsl(219, 83%, 42%)
OKLCHoklch(47.7% 0.191 261.4)

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 #1252C6 6.88:1 AA Lc -88.0 Fine for body text
Black text on #1252C6 3.04:1 AA large text Lc 21.0 Dividers and decoration only
#1252C6 text on white 6.88:1 AA Lc 83.0 Fine for body text
#1252C6 text on black 3.04:1 AA large text Lc -18.9 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #9FC1FD

    oklch(80.8% 0.093 261.6)

  5. Step 400

    400

    #6B9FFC

    oklch(70.7% 0.148 261.3)

  6. Step 500

    500

    #4383FA

    oklch(63.1% 0.19 261.5)

  7. Step 600

    600

    #2469E9

    oklch(55.6% 0.206 261.4)

  8. Step 700

    700 (this color)

    #1252C6

    oklch(47.7% 0.191 261.4)

  9. Step 800

    800

    #1647A4

    oklch(42.6% 0.159 261.6)

  10. Step 900

    900

    #183D82

    oklch(37.7% 0.124 261.4)

  11. Step 950

    950

    #0F244C

    oklch(26.9% 0.079 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#1252C6 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)#0062CA0.040
Deuteranopia (no green cones)#0052C40.007
Tritanopia (no blue cones)#0070840.146
Achromatopsia (no color)#5A5A5A0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #1252C6

    #1252C6

    oklch(47.7% 0.191 261.4)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1252C6

    #1252C6

    oklch(47.7% 0.191 261.4)

  • #006689

    #006689

    oklch(47.8% 0.096 230.7)

  • #633BBD

    #633BBD

    oklch(47.6% 0.192 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #1252C6

    #1252C6

    oklch(47.7% 0.191 261.4)

  • #914400

    #914400

    oklch(47.7% 0.123 51.6)

  • #5F6200

    #5F6200

    oklch(47.7% 0.106 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1252C6

    #1252C6

    oklch(47.7% 0.191 261.4)

  • #AF0127

    #AF0127

    oklch(47.7% 0.191 21.5)

  • #127100

    #127100

    oklch(47.8% 0.159 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1252C6

    #1252C6

    oklch(47.7% 0.191 261.4)

  • #A40D69

    #A40D69

    oklch(47.7% 0.191 351.3)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

  • #006D56

    #006D56

    oklch(47.6% 0.093 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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