#123C84

Closest named color: Twilight Blue (#0A437A). oklch(37.4% 0.13 260.6), rgb(18, 60, 132).

Aa

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

About this color

#123C84 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.130 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.028 away. White text reads best on it, at 10.47:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.00:1
White text10.47:1

Values

HEX#123C84
RGBrgb(18, 60, 132)
HSLhsl(218, 76%, 29%)
OKLCHoklch(37.4% 0.13 260.6)

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 #123C84 10.47:1 AAA Lc -97.8 Preferred for body text
Black text on #123C84 2.00:1 Fails Lc 10.1 Not readable
#123C84 text on white 10.47:1 AAA Lc 93.8 Preferred for body text
#123C84 text on black 2.00:1 Fails Lc -8.8 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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFE

    oklch(88.4% 0.055 261.2)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #679FFF

    oklch(70.7% 0.153 260.6)

  6. Step 500

    500

    #3B83FF

    oklch(63.1% 0.198 260.5)

  7. Step 600

    600

    #1668EF

    oklch(55.6% 0.217 260.6)

  8. Step 700

    700

    #0655D0

    oklch(49% 0.202 260.7)

  9. Step 800

    800

    #0B47A8

    oklch(42.7% 0.167 260.5)

  10. Step 900

    900 (this color)

    #123C84

    oklch(37.4% 0.13 260.6)

  11. Step 950

    950

    #0C244E

    oklch(26.9% 0.083 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#123C84 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)#0445870.025
Deuteranopia (no green cones)#003B830.010
Tritanopia (no blue cones)#004E5A0.100
Achromatopsia (no color)#3F3F3F0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #123C84

    #123C84

    oklch(37.4% 0.13 260.6)

  • #563B00

    #563B00

    oklch(37.3% 0.077 79.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123C84

    #123C84

    oklch(37.4% 0.13 260.6)

  • #004761

    #004761

    oklch(37.3% 0.075 231.1)

  • #432E7F

    #432E7F

    oklch(37.3% 0.131 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #123C84

    #123C84

    oklch(37.4% 0.13 260.6)

  • #682E00

    #682E00

    oklch(37.5% 0.098 50.9)

  • #434400

    #434400

    oklch(37.3% 0.082 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123C84

    #123C84

    oklch(37.4% 0.13 260.6)

  • #771621

    #771621

    oklch(37.5% 0.13 20.7)

  • #104F00

    #104F00

    oklch(37.4% 0.122 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123C84

    #123C84

    oklch(37.4% 0.13 260.6)

  • #6F184A

    #6F184A

    oklch(37.4% 0.13 350.2)

  • #563B00

    #563B00

    oklch(37.3% 0.077 79.7)

  • #004D3B

    #004D3B

    oklch(37.4% 0.074 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #123C84 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.