#123E7D

Closest named color: Twilight Blue (#0A437A). oklch(37.3% 0.117 258.3), rgb(18, 62, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.01:1
White text10.44:1

Values

HEX#123E7D
RGBrgb(18, 62, 125)
HSLhsl(215, 75%, 28%)
OKLCHoklch(37.3% 0.117 258.3)

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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC3FA

    oklch(81% 0.088 258.1)

  5. Step 400

    400

    #68A1F7

    oklch(70.7% 0.14 258.4)

  6. Step 500

    500

    #3C86F4

    oklch(63% 0.181 258.5)

  7. Step 600

    600

    #156DE2

    oklch(55.6% 0.195 258.2)

  8. Step 700

    700

    #035AC5

    oklch(49.1% 0.182 258.3)

  9. Step 800

    800

    #0B4A9F

    oklch(42.6% 0.151 258.4)

  10. Step 900

    900 (this color)

    #123E7D

    oklch(37.3% 0.117 258.3)

  11. Step 950

    950

    #0D264A

    oklch(27.1% 0.074 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#123E7D 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)#19457F0.022
Deuteranopia (no green cones)#003B7C0.014
Tritanopia (no blue cones)#004D570.089
Achromatopsia (no color)#4040400.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #123E7D

    #123E7D

    oklch(37.3% 0.117 258.3)

  • #573A00

    #573A00

    oklch(37.3% 0.078 77.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123E7D

    #123E7D

    oklch(37.3% 0.117 258.3)

  • #00475F

    #00475F

    oklch(37.2% 0.073 229)

  • #40327A

    #40327A

    oklch(37.4% 0.118 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #123E7D

    #123E7D

    oklch(37.3% 0.117 258.3)

  • #692C00

    #692C00

    oklch(37.3% 0.101 48.7)

  • #454300

    #454300

    oklch(37.3% 0.08 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123E7D

    #123E7D

    oklch(37.3% 0.117 258.3)

  • #721D28

    #721D28

    oklch(37.3% 0.118 17.9)

  • #1A4E00

    #1A4E00

    oklch(37.4% 0.116 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123E7D

    #123E7D

    oklch(37.3% 0.117 258.3)

  • #6A1F4B

    #6A1F4B

    oklch(37.3% 0.117 348.1)

  • #573A00

    #573A00

    oklch(37.3% 0.078 77.3)

  • #004D39

    #004D39

    oklch(37.3% 0.075 168.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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