#123A77

Closest named color: Twilight Blue (#0A437A). oklch(35.9% 0.114 259.1), rgb(18, 58, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.89:1
White text11.06:1

Values

HEX#123A77
RGBrgb(18, 58, 119)
HSLhsl(216, 74%, 27%)
OKLCHoklch(35.9% 0.114 259.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 #123A77 11.06:1 AAA Lc -99.0 Preferred for body text
Black text on #123A77 1.89:1 Fails Lc 8.7 Not readable
#123A77 text on white 11.06:1 AAA Lc 95.2 Preferred for body text
#123A77 text on black 1.89:1 Fails Lc -7.5 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DBF9

    oklch(88.6% 0.047 258.4)

  4. Step 300

    300

    #A0C2F8

    oklch(80.9% 0.085 259.5)

  5. Step 400

    400

    #6BA1F5

    oklch(70.8% 0.136 258.9)

  6. Step 500

    500

    #4286F1

    oklch(63.1% 0.175 259.2)

  7. Step 600

    600

    #206DDF

    oklch(55.6% 0.189 259)

  8. Step 700

    700

    #125AC2

    oklch(49% 0.177 259.1)

  9. Step 800

    800

    #134A9D

    oklch(42.6% 0.147 259.3)

  10. Step 900

    900 (this color)

    #123A77

    oklch(35.9% 0.114 259.1)

  11. Step 950

    950

    #0F2549

    oklch(26.9% 0.073 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#123A77 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)#1541790.021
Deuteranopia (no green cones)#0038760.013
Tritanopia (no blue cones)#0049520.089
Achromatopsia (no color)#3C3C3C0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #123A77

    #123A77

    oklch(35.9% 0.114 259.1)

  • #513700

    #513700

    oklch(35.8% 0.074 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123A77

    #123A77

    oklch(35.9% 0.114 259.1)

  • #00435A

    #00435A

    oklch(35.8% 0.071 229.1)

  • #3D2E73

    #3D2E73

    oklch(35.8% 0.114 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #123A77

    #123A77

    oklch(35.9% 0.114 259.1)

  • #632A00

    #632A00

    oklch(35.9% 0.096 49.5)

  • #404000

    #404000

    oklch(36% 0.078 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123A77

    #123A77

    oklch(35.9% 0.114 259.1)

  • #6C1B24

    #6C1B24

    oklch(35.9% 0.113 19)

  • #154A00

    #154A00

    oklch(36% 0.114 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123A77

    #123A77

    oklch(35.9% 0.114 259.1)

  • #651C46

    #651C46

    oklch(35.8% 0.114 349)

  • #513700

    #513700

    oklch(35.8% 0.074 79.2)

  • #004936

    #004936

    oklch(36% 0.073 168.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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