#123A7A

Closest named color: Twilight Blue (#0A437A). oklch(36.1% 0.118 259.7), rgb(18, 58, 122).

Aa

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

About this color

#123A7A is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.118 and its hue 260°. 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 10.98:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.91:1
White text10.98:1

Values

HEX#123A7A
RGBrgb(18, 58, 122)
HSLhsl(217, 74%, 27%)
OKLCHoklch(36.1% 0.118 259.7)

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 #123A7A 10.98:1 AAA Lc -98.9 Preferred for body text
Black text on #123A7A 1.91:1 Fails Lc 9.0 Not readable
#123A7A text on white 10.98:1 AAA Lc 95.0 Preferred for body text
#123A7A text on black 1.91:1 Fails Lc -7.7 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DAFA

    oklch(88.4% 0.049 259.8)

  4. Step 300

    300

    #9FC2FA

    oklch(80.9% 0.088 259.7)

  5. Step 400

    400

    #6AA0F8

    oklch(70.7% 0.142 259.7)

  6. Step 500

    500

    #4185F5

    oklch(63.1% 0.182 259.9)

  7. Step 600

    600

    #1F6CE4

    oklch(55.7% 0.197 259.7)

  8. Step 700

    700

    #1159C6

    oklch(49.1% 0.183 259.7)

  9. Step 800

    800

    #1249A0

    oklch(42.6% 0.152 259.9)

  10. Step 900

    900 (this color)

    #123A7A

    oklch(36.1% 0.118 259.7)

  11. Step 950

    950

    #0E254A

    oklch(26.9% 0.075 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#123A7A 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)#11417C0.020
Deuteranopia (no green cones)#0038790.013
Tritanopia (no blue cones)#004A540.092
Achromatopsia (no color)#3C3C3C0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #123A7A

    #123A7A

    oklch(36.1% 0.118 259.7)

  • #523800

    #523800

    oklch(36.1% 0.075 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123A7A

    #123A7A

    oklch(36.1% 0.118 259.7)

  • #00445C

    #00445C

    oklch(36.2% 0.072 229.9)

  • #3E2E76

    #3E2E76

    oklch(36.1% 0.118 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #123A7A

    #123A7A

    oklch(36.1% 0.118 259.7)

  • #642A00

    #642A00

    oklch(36.1% 0.097 49.1)

  • #404000

    #404000

    oklch(36% 0.078 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123A7A

    #123A7A

    oklch(36.1% 0.118 259.7)

  • #6E1922

    #6E1922

    oklch(36% 0.118 19.9)

  • #134B00

    #134B00

    oklch(36.2% 0.116 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123A7A

    #123A7A

    oklch(36.1% 0.118 259.7)

  • #671B46

    #671B46

    oklch(36.1% 0.117 349.8)

  • #523800

    #523800

    oklch(36.1% 0.075 79.6)

  • #004937

    #004937

    oklch(36% 0.072 169.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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