#1254C4

Closest named color: Blue Blue (#2242C7). oklch(48% 0.186 260.8), rgb(18, 84, 196).

Aa

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

About this color

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

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

Values

HEX#1254C4
RGBrgb(18, 84, 196)
HSLhsl(218, 83%, 42%)
OKLCHoklch(48% 0.186 260.8)

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 #1254C4 6.79:1 AA Lc -87.7 Fine for body text
Black text on #1254C4 3.09:1 AA large text Lc 21.4 Dividers and decoration only
#1254C4 text on white 6.79:1 AA Lc 82.7 Fine for body text
#1254C4 text on black 3.09:1 AA large text Lc -19.2 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

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C7DAFB

    oklch(88.5% 0.05 261.5)

  4. Step 300

    300

    #A0C2FB

    oklch(81% 0.089 260.6)

  5. Step 400

    400

    #6B9FFA

    oklch(70.6% 0.145 260.9)

  6. Step 500

    500

    #4384F7

    oklch(63.1% 0.185 260.8)

  7. Step 600

    600

    #236AE6

    oklch(55.5% 0.201 260.8)

  8. Step 700

    700 (this color)

    #1254C4

    oklch(48% 0.186 260.8)

  9. Step 800

    800

    #1548A2

    oklch(42.6% 0.156 260.9)

  10. Step 900

    900

    #183E80

    oklch(37.7% 0.12 260.6)

  11. Step 950

    950

    #0F254B

    oklch(27% 0.076 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#1254C4 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)#0063C80.038
Deuteranopia (no green cones)#0053C20.008
Tritanopia (no blue cones)#0070840.140
Achromatopsia (no color)#5B5B5B0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #1254C4

    #1254C4

    oklch(48% 0.186 260.8)

  • #7A5600

    #7A5600

    oklch(47.9% 0.099 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1254C4

    #1254C4

    oklch(48% 0.186 260.8)

  • #00668A

    #00668A

    oklch(47.9% 0.097 231.5)

  • #623EBC

    #623EBC

    oklch(47.9% 0.187 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #1254C4

    #1254C4

    oklch(48% 0.186 260.8)

  • #934400

    #934400

    oklch(48.1% 0.125 50.9)

  • #616200

    #616200

    oklch(47.9% 0.105 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1254C4

    #1254C4

    oklch(48% 0.186 260.8)

  • #AE0D2B

    #AE0D2B

    oklch(47.9% 0.187 20.9)

  • #187100

    #187100

    oklch(47.9% 0.157 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1254C4

    #1254C4

    oklch(48% 0.186 260.8)

  • #A3166A

    #A3166A

    oklch(47.9% 0.186 351)

  • #7A5600

    #7A5600

    oklch(47.9% 0.099 80.4)

  • #006E56

    #006E56

    oklch(47.9% 0.094 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1254C4 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.