#123D7A

Closest named color: Twilight Blue (#0A437A). oklch(36.8% 0.114 258.1), rgb(18, 61, 122).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.97:1
White text10.63:1

Values

HEX#123D7A
RGBrgb(18, 61, 122)
HSLhsl(215, 74%, 27%)
OKLCHoklch(36.8% 0.114 258.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 #123D7A 10.63:1 AAA Lc -98.2 Preferred for body text
Black text on #123D7A 1.97:1 Fails Lc 9.7 Not readable
#123D7A text on white 10.63:1 AAA Lc 94.2 Preferred for body text
#123D7A text on black 1.97:1 Fails Lc -8.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9FC3F8

    oklch(81% 0.085 257.9)

  5. Step 400

    400

    #69A1F5

    oklch(70.7% 0.137 258.3)

  6. Step 500

    500

    #3E87F1

    oklch(63.1% 0.175 258.1)

  7. Step 600

    600

    #196EE0

    oklch(55.7% 0.19 258.1)

  8. Step 700

    700

    #085BC2

    oklch(49.1% 0.177 258)

  9. Step 800

    800

    #0E4B9D

    oklch(42.7% 0.146 258.1)

  10. Step 900

    900 (this color)

    #123D7A

    oklch(36.8% 0.114 258.1)

  11. Step 950

    950

    #0E2649

    oklch(27.1% 0.072 258)

Export this scale for Tailwind in the Tailwind colors tool

#123D7A 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)#1A437C0.020
Deuteranopia (no green cones)#003A790.014
Tritanopia (no blue cones)#004C550.088
Achromatopsia (no color)#3E3E3E0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #123D7A

    #123D7A

    oklch(36.8% 0.114 258.1)

  • #553900

    #553900

    oklch(36.8% 0.077 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123D7A

    #123D7A

    oklch(36.8% 0.114 258.1)

  • #00465D

    #00465D

    oklch(36.8% 0.072 228.2)

  • #3E3177

    #3E3177

    oklch(36.7% 0.115 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #123D7A

    #123D7A

    oklch(36.8% 0.114 258.1)

  • #682B00

    #682B00

    oklch(37% 0.1 48.2)

  • #444200

    #444200

    oklch(36.9% 0.079 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123D7A

    #123D7A

    oklch(36.8% 0.114 258.1)

  • #6F1D27

    #6F1D27

    oklch(36.7% 0.115 18.1)

  • #1A4C00

    #1A4C00

    oklch(36.8% 0.114 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123D7A

    #123D7A

    oklch(36.8% 0.114 258.1)

  • #681F4A

    #681F4A

    oklch(36.9% 0.115 347.9)

  • #553900

    #553900

    oklch(36.8% 0.077 77.9)

  • #004B38

    #004B38

    oklch(36.7% 0.074 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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