#124FC4

Closest named color: Blue Blue (#2242C7). oklch(47% 0.193 261.9), rgb(18, 79, 196).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.193)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text2.94:1
White text7.13:1

Values

HEX#124FC4
RGBrgb(18, 79, 196)
HSLhsl(219, 83%, 42%)
OKLCHoklch(47% 0.193 261.9)

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 #124FC4 7.13:1 AAA Lc -88.9 Fine for body text
Black text on #124FC4 2.94:1 Fails Lc 20.1 Dividers and decoration only
#124FC4 text on white 7.13:1 AAA Lc 84.0 Fine for body text
#124FC4 text on black 2.94:1 Fails Lc -18.0 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

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #A0C1FD

    oklch(80.9% 0.093 262.1)

  5. Step 400

    400

    #6C9EFD

    oklch(70.6% 0.15 262.2)

  6. Step 500

    500

    #4483FB

    oklch(63.2% 0.191 261.8)

  7. Step 600

    600

    #2668EA

    oklch(55.5% 0.208 262)

  8. Step 700

    700 (this color)

    #124FC4

    oklch(47% 0.193 261.9)

  9. Step 800

    800

    #1747A4

    oklch(42.7% 0.159 261.8)

  10. Step 900

    900

    #193D82

    oklch(37.7% 0.124 261.8)

  11. Step 950

    950

    #0F244C

    oklch(26.9% 0.079 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#124FC4 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)#0060C80.042
Deuteranopia (no green cones)#0050C20.007
Tritanopia (no blue cones)#006D820.146
Achromatopsia (no color)#5858580.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #124FC4

    #124FC4

    oklch(47% 0.193 261.9)

  • #765400

    #765400

    oklch(47% 0.097 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124FC4

    #124FC4

    oklch(47% 0.193 261.9)

  • #006387

    #006387

    oklch(46.9% 0.096 232.2)

  • #6238BB

    #6238BB

    oklch(47% 0.193 292)

Open the analogous palette in the generator

Split complementary

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

  • #124FC4

    #124FC4

    oklch(47% 0.193 261.9)

  • #8E4300

    #8E4300

    oklch(47.1% 0.121 52)

  • #5D6000

    #5D6000

    oklch(47.1% 0.104 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124FC4

    #124FC4

    oklch(47% 0.193 261.9)

  • #AC0025

    #AC0025

    oklch(47% 0.189 21.8)

  • #0B6F00

    #0B6F00

    oklch(47.1% 0.158 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124FC4

    #124FC4

    oklch(47% 0.193 261.9)

  • #A20466

    #A20466

    oklch(46.9% 0.192 351.8)

  • #765400

    #765400

    oklch(47% 0.097 81.4)

  • #006B55

    #006B55

    oklch(47% 0.091 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124FC4 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.