#124780

Closest named color: Twilight Blue (#0A437A). oklch(39.7% 0.11 253.9), rgb(18, 71, 128).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.23:1
White text9.38:1

Values

HEX#124780
RGBrgb(18, 71, 128)
HSLhsl(211, 75%, 29%)
OKLCHoklch(39.7% 0.11 253.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 #124780 9.38:1 AAA Lc -95.6 Preferred for body text
Black text on #124780 2.23:1 Fails Lc 12.7 Not readable
#124780 text on white 9.38:1 AAA Lc 91.2 Preferred for body text
#124780 text on black 2.23:1 Fails Lc -11.1 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

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9CC4F5

    oklch(80.9% 0.082 253.8)

  5. Step 400

    400

    #63A4F1

    oklch(70.8% 0.132 253.7)

  6. Step 500

    500

    #318AEC

    oklch(63.1% 0.169 253.9)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900 (this color)

    #124780

    oklch(39.7% 0.11 253.9)

  11. Step 950

    950

    #0A2747

    oklch(27.1% 0.069 253.6)

Export this scale for Tailwind in the Tailwind colors tool

#124780 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)#2A4C820.027
Deuteranopia (no green cones)#14427F0.014
Tritanopia (no blue cones)#00555D0.083
Achromatopsia (no color)#4646460.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #124780

    #124780

    oklch(39.7% 0.11 253.9)

  • #613F00

    #613F00

    oklch(39.7% 0.084 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #124780

    #124780

    oklch(39.7% 0.11 253.9)

  • #004F64

    #004F64

    oklch(39.7% 0.074 223.4)

  • #413C7F

    #413C7F

    oklch(39.7% 0.109 283.6)

Open the analogous palette in the generator

Split complementary

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

  • #124780

    #124780

    oklch(39.7% 0.11 253.9)

  • #752E07

    #752E07

    oklch(39.7% 0.11 43.9)

  • #4F4800

    #4F4800

    oklch(39.6% 0.083 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #124780

    #124780

    oklch(39.7% 0.11 253.9)

  • #762835

    #762835

    oklch(39.7% 0.109 13.7)

  • #2C5305

    #2C5305

    oklch(39.8% 0.11 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #124780

    #124780

    oklch(39.7% 0.11 253.9)

  • #6E2A55

    #6E2A55

    oklch(39.8% 0.11 344.4)

  • #613F00

    #613F00

    oklch(39.7% 0.084 74.6)

  • #00553A

    #00553A

    oklch(39.8% 0.085 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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