#123D71

Closest named color: Twilight Blue (#0A437A). oklch(36.1% 0.101 255.5), rgb(18, 61, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.93:1
White text10.87:1

Values

HEX#123D71
RGBrgb(18, 61, 113)
HSLhsl(213, 73%, 26%)
OKLCHoklch(36.1% 0.101 255.5)

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 #123D71 10.87:1 AAA Lc -98.7 Preferred for body text
Black text on #123D71 1.93:1 Fails Lc 9.1 Not readable
#123D71 text on white 10.87:1 AAA Lc 94.8 Preferred for body text
#123D71 text on black 1.93:1 Fails Lc -7.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #A0C3F2

    oklch(80.8% 0.077 255.9)

  5. Step 400

    400

    #6CA3EB

    oklch(70.7% 0.121 255.6)

  6. Step 500

    500

    #428AE5

    oklch(63.2% 0.155 255.6)

  7. Step 600

    600

    #1D72D3

    oklch(55.7% 0.168 255.4)

  8. Step 700

    700

    #0E5FB7

    oklch(49.2% 0.157 255.5)

  9. Step 800

    800

    #114E94

    oklch(42.8% 0.13 255.5)

  10. Step 900

    900 (this color)

    #123D71

    oklch(36.1% 0.101 255.5)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#123D71 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)#2242730.023
Deuteranopia (no green cones)#0F39700.013
Tritanopia (no blue cones)#0049510.076
Achromatopsia (no color)#3D3D3D0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #123D71

    #123D71

    oklch(36.1% 0.101 255.5)

  • #543700

    #543700

    oklch(36.2% 0.076 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123D71

    #123D71

    oklch(36.1% 0.101 255.5)

  • #004459

    #004459

    oklch(36% 0.069 226.5)

  • #3A336F

    #3A336F

    oklch(36.2% 0.1 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #123D71

    #123D71

    oklch(36.1% 0.101 255.5)

  • #662801

    #662801

    oklch(36.1% 0.1 46.2)

  • #433F00

    #433F00

    oklch(36% 0.077 105.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123D71

    #123D71

    oklch(36.1% 0.101 255.5)

  • #68212B

    #68212B

    oklch(36% 0.102 15.5)

  • #234806

    #234806

    oklch(36% 0.1 135.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123D71

    #123D71

    oklch(36.1% 0.101 255.5)

  • #612349

    #612349

    oklch(36.2% 0.102 345.6)

  • #543700

    #543700

    oklch(36.2% 0.076 76.1)

  • #004A34

    #004A34

    oklch(36.3% 0.076 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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