#123E7F

Closest named color: Twilight Blue (#0A437A). oklch(37.5% 0.12 258.7), rgb(18, 62, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.02:1
White text10.38:1

Values

HEX#123E7F
RGBrgb(18, 62, 127)
HSLhsl(216, 75%, 28%)
OKLCHoklch(37.5% 0.12 258.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 #123E7F 10.38:1 AAA Lc -97.7 Preferred for body text
Black text on #123E7F 2.02:1 Fails Lc 10.3 Not readable
#123E7F text on white 10.38:1 AAA Lc 93.6 Preferred for body text
#123E7F text on black 2.02:1 Fails Lc -8.9 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

    #C6DBFB

    oklch(88.6% 0.05 258.7)

  4. Step 300

    300

    #9DC2FB

    oklch(80.8% 0.091 258.9)

  5. Step 400

    400

    #67A1F9

    oklch(70.8% 0.143 258.5)

  6. Step 500

    500

    #3B86F6

    oklch(63.1% 0.183 258.6)

  7. Step 600

    600

    #146CE5

    oklch(55.6% 0.2 258.7)

  8. Step 700

    700

    #0259C7

    oklch(49% 0.186 258.7)

  9. Step 800

    800

    #0A4AA1

    oklch(42.8% 0.154 258.6)

  10. Step 900

    900 (this color)

    #123E7F

    oklch(37.5% 0.12 258.7)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#123E7F 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)#1645810.021
Deuteranopia (no green cones)#003B7E0.014
Tritanopia (no blue cones)#004E580.093
Achromatopsia (no color)#4040400.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #123E7F

    #123E7F

    oklch(37.5% 0.12 258.7)

  • #573B00

    #573B00

    oklch(37.5% 0.078 78.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123E7F

    #123E7F

    oklch(37.5% 0.12 258.7)

  • #004860

    #004860

    oklch(37.5% 0.074 228.7)

  • #41327B

    #41327B

    oklch(37.5% 0.119 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #123E7F

    #123E7F

    oklch(37.5% 0.12 258.7)

  • #6A2C00

    #6A2C00

    oklch(37.5% 0.102 48.3)

  • #454400

    #454400

    oklch(37.5% 0.081 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123E7F

    #123E7F

    oklch(37.5% 0.12 258.7)

  • #731C27

    #731C27

    oklch(37.4% 0.12 18.4)

  • #194E00

    #194E00

    oklch(37.3% 0.117 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123E7F

    #123E7F

    oklch(37.5% 0.12 258.7)

  • #6C1E4B

    #6C1E4B

    oklch(37.5% 0.121 348.9)

  • #573B00

    #573B00

    oklch(37.5% 0.078 78.7)

  • #004D3A

    #004D3A

    oklch(37.4% 0.075 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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