#12316D

Closest named color: Marine Blue (#01386A). oklch(32.9% 0.111 261.8), rgb(18, 49, 109).

Aa

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

About this color

#12316D is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.111 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.022 away. White text reads best on it, at 12.45:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.68:1
White text12.45:1

Values

HEX#12316D
RGBrgb(18, 49, 109)
HSLhsl(220, 72%, 25%)
OKLCHoklch(32.9% 0.111 261.8)

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 #12316D 12.45:1 AAA Lc -101.4 Preferred for body text
Black text on #12316D 1.68:1 Fails Lc 0.0 Not readable
#12316D text on white 12.45:1 AAA Lc 97.9 Preferred for body text
#12316D text on black 1.68: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAF9

    oklch(88.5% 0.047 262.5)

  4. Step 300

    300

    #A3C1F7

    oklch(80.8% 0.084 262)

  5. Step 400

    400

    #729FF3

    oklch(70.6% 0.133 262.1)

  6. Step 500

    500

    #4D85EF

    oklch(63.1% 0.17 261.8)

  7. Step 600

    600

    #316CDD

    oklch(55.7% 0.184 261.7)

  8. Step 700

    700

    #2459C0

    oklch(49.1% 0.172 261.9)

  9. Step 800

    800

    #1F499B

    oklch(42.6% 0.142 261.9)

  10. Step 900

    900 (this color)

    #12316D

    oklch(32.9% 0.111 261.8)

  11. Step 950

    950

    #122548

    oklch(27% 0.07 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#12316D 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)#06386F0.020
Deuteranopia (no green cones)#00306C0.013
Tritanopia (no blue cones)#00404A0.086
Achromatopsia (no color)#3434340.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #12316D

    #12316D

    oklch(32.9% 0.111 261.8)

  • #463100

    #463100

    oklch(32.9% 0.068 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12316D

    #12316D

    oklch(32.9% 0.111 261.8)

  • #003B51

    #003B51

    oklch(33% 0.066 230.7)

  • #382668

    #382668

    oklch(32.9% 0.11 291.7)

Open the analogous palette in the generator

Split complementary

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

  • #12316D

    #12316D

    oklch(32.9% 0.111 261.8)

  • #562600

    #562600

    oklch(33% 0.085 52.1)

  • #373800

    #373800

    oklch(32.9% 0.072 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12316D

    #12316D

    oklch(32.9% 0.111 261.8)

  • #62131A

    #62131A

    oklch(32.9% 0.111 21.4)

  • #044200

    #044200

    oklch(32.9% 0.11 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12316D

    #12316D

    oklch(32.9% 0.111 261.8)

  • #5C143B

    #5C143B

    oklch(32.9% 0.111 351.8)

  • #463100

    #463100

    oklch(32.9% 0.068 82.4)

  • #004031

    #004031

    oklch(33.1% 0.065 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12316D 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.