#123179

Closest named color: Marine Blue (#01386A). oklch(34% 0.129 263.5), rgb(18, 49, 121).

Aa

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

About this color

#123179 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.129 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.035 away. White text reads best on it, at 12.06:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.74:1
White text12.06:1

Values

HEX#123179
RGBrgb(18, 49, 121)
HSLhsl(222, 74%, 27%)
OKLCHoklch(34% 0.129 263.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 #123179 12.06:1 AAA Lc -100.6 Preferred for body text
Black text on #123179 1.74:1 Fails Lc 0.0 Not readable
#123179 text on white 12.06:1 AAA Lc 97.0 Preferred for body text
#123179 text on black 1.74:1 Fails Lc 0.0 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

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFE

    oklch(88.6% 0.054 263.2)

  4. Step 300

    300

    #A1C1FF

    oklch(81% 0.095 263.3)

  5. Step 400

    400

    #6E9DFF

    oklch(70.6% 0.153 263.6)

  6. Step 500

    500

    #4881FF

    oklch(63.2% 0.197 263.5)

  7. Step 600

    600

    #2C66EE

    oklch(55.6% 0.214 263.5)

  8. Step 700

    700

    #1F53CF

    oklch(49% 0.2 263.5)

  9. Step 800

    800

    #1B45A7

    oklch(42.6% 0.165 263.4)

  10. Step 900

    900 (this color)

    #123179

    oklch(34% 0.129 263.5)

  11. Step 950

    950

    #11244E

    oklch(27.1% 0.081 263.6)

Export this scale for Tailwind in the Tailwind colors tool

#123179 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)#003B7B0.027
Deuteranopia (no green cones)#0032780.011
Tritanopia (no blue cones)#0043500.099
Achromatopsia (no color)#3636360.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #123179

    #123179

    oklch(34% 0.129 263.5)

  • #493400

    #493400

    oklch(34% 0.07 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123179

    #123179

    oklch(34% 0.129 263.5)

  • #003D56

    #003D56

    oklch(33.9% 0.07 233.4)

  • #3D2472

    #3D2472

    oklch(34% 0.127 293.1)

Open the analogous palette in the generator

Split complementary

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

  • #123179

    #123179

    oklch(34% 0.129 263.5)

  • #592900

    #592900

    oklch(34.1% 0.086 53.7)

  • #383C00

    #383C00

    oklch(34.1% 0.077 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123179

    #123179

    oklch(34% 0.129 263.5)

  • #6B0A14

    #6B0A14

    oklch(34% 0.128 23.4)

  • #004505

    #004505

    oklch(33.9% 0.112 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123179

    #123179

    oklch(34% 0.129 263.5)

  • #650C3D

    #650C3D

    oklch(34% 0.128 353.4)

  • #493400

    #493400

    oklch(34% 0.07 83.6)

  • #004335

    #004335

    oklch(34.1% 0.066 173)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #123179 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.