#124784

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.116 255.1), rgb(18, 71, 132).

Aa

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

About this color

#124784 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.116 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.021 away. White text reads best on it, at 9.29:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.29:1

Values

HEX#124784
RGBrgb(18, 71, 132)
HSLhsl(212, 76%, 29%)
OKLCHoklch(40% 0.116 255.1)

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 #124784 9.29:1 AAA Lc -95.4 Preferred for body text
Black text on #124784 2.26:1 Fails Lc 13.0 Not readable
#124784 text on white 9.29:1 AAA Lc 91.0 Preferred for body text
#124784 text on black 2.26:1 Fails Lc -11.3 Not readable

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

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBF9

    oklch(88.4% 0.048 255.1)

  4. Step 300

    300

    #9BC4F8

    oklch(81% 0.086 254.6)

  5. Step 400

    400

    #62A3F5

    oklch(70.8% 0.138 255)

  6. Step 500

    500

    #2F89F1

    oklch(63.1% 0.177 254.9)

  7. Step 600

    600

    #0071DB

    oklch(55.7% 0.183 255)

  8. Step 700

    700

    #005EB9

    oklch(49% 0.162 255.1)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900 (this color)

    #124784

    oklch(40% 0.116 255.1)

  11. Step 950

    950

    #092649

    oklch(26.9% 0.074 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#124784 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)#274C860.024
Deuteranopia (no green cones)#0D42830.015
Tritanopia (no blue cones)#00565F0.088
Achromatopsia (no color)#4747470.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #124784

    #124784

    oklch(40% 0.116 255.1)

  • #624000

    #624000

    oklch(40.1% 0.085 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124784

    #124784

    oklch(40% 0.116 255.1)

  • #005066

    #005066

    oklch(40.1% 0.075 224.3)

  • #433B82

    #433B82

    oklch(39.9% 0.115 285)

Open the analogous palette in the generator

Split complementary

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

  • #124784

    #124784

    oklch(40% 0.116 255.1)

  • #772E00

    #772E00

    oklch(40% 0.114 45.2)

  • #4F4A00

    #4F4A00

    oklch(40.1% 0.085 105.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124784

    #124784

    oklch(40% 0.116 255.1)

  • #792633

    #792633

    oklch(39.9% 0.115 14.9)

  • #295402

    #295402

    oklch(39.9% 0.115 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124784

    #124784

    oklch(40% 0.116 255.1)

  • #712856

    #712856

    oklch(40% 0.117 344.9)

  • #624000

    #624000

    oklch(40.1% 0.085 75)

  • #00553C

    #00553C

    oklch(39.8% 0.083 165.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #124784 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.