#12344A

Closest named color: Midnight Green (#073B4C). oklch(31.2% 0.056 240.4), rgb(18, 52, 74).

Aa

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

About this color

#12344A is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.056 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.023 away. White text reads best on it, at 12.99:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.056)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.61:1
White text12.99:1

Values

HEX#12344A
RGBrgb(18, 52, 74)
HSLhsl(204, 61%, 18%)
OKLCHoklch(31.2% 0.056 240.4)

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 #12344A 12.99:1 AAA Lc -102.3 Preferred for body text
Black text on #12344A 1.61:1 Fails Lc 0.0 Not readable
#12344A text on white 12.99:1 AAA Lc 99.0 Preferred for body text
#12344A text on black 1.61: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 950.

  1. Step 50

    50

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDEF

    oklch(88.5% 0.036 239.2)

  4. Step 300

    300

    #9AC7E7

    oklch(80.9% 0.066 239.6)

  5. Step 400

    400

    #5FA9DC

    oklch(70.7% 0.105 240.6)

  6. Step 500

    500

    #2292D2

    oklch(63% 0.135 240.4)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #00679A

    oklch(49.1% 0.113 240.5)

  9. Step 800

    800

    #00547F

    oklch(42.6% 0.099 240.7)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950 (this color)

    #12344A

    oklch(31.2% 0.056 240.4)

Export this scale for Tailwind in the Tailwind colors tool

#12344A 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)#2A344B0.029
Deuteranopia (no green cones)#222F4A0.023
Tritanopia (no blue cones)#00393C0.037
Achromatopsia (no color)#3131310.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #12344A

    #12344A

    oklch(31.2% 0.056 240.4)

  • #452910

    #452910

    oklch(31.1% 0.056 60)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12344A

    #12344A

    oklch(31.2% 0.056 240.4)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

  • #262F4D

    #262F4D

    oklch(31.2% 0.055 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #12344A

    #12344A

    oklch(31.2% 0.056 240.4)

  • #49251F

    #49251F

    oklch(31.1% 0.056 30.5)

  • #3B2F09

    #3B2F09

    oklch(31% 0.056 90.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12344A

    #12344A

    oklch(31.2% 0.056 240.4)

  • #47242F

    #47242F

    oklch(31.1% 0.055 0.7)

  • #2D3512

    #2D3512

    oklch(31.2% 0.056 120.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12344A

    #12344A

    oklch(31.2% 0.056 240.4)

  • #41263E

    #41263E

    oklch(31.3% 0.056 330.8)

  • #452910

    #452910

    oklch(31.1% 0.056 60)

  • #1A3921

    #1A3921

    oklch(31.3% 0.057 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12344A 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.