#12295E

Closest named color: Marine (#042E60). oklch(29.8% 0.099 263.8), rgb(18, 41, 94).

Aa

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

About this color

#12295E is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.099 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.016 away. White text reads best on it, at 13.95:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.50:1
White text13.95:1

Values

HEX#12295E
RGBrgb(18, 41, 94)
HSLhsl(222, 68%, 22%)
OKLCHoklch(29.8% 0.099 263.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 #12295E 13.95:1 AAA Lc -103.4 Preferred for body text
Black text on #12295E 1.50:1 Fails Lc 0.0 Not readable
#12295E text on white 13.95:1 AAA Lc 100.3 Preferred for body text
#12295E text on black 1.50: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #2160FF

    oklch(55.7% 0.244 263.7)

  8. Step 700

    700

    #0E49E7

    oklch(49.1% 0.243 263.8)

  9. Step 800

    800

    #0E3EBA

    oklch(42.7% 0.2 263.7)

  10. Step 900

    900

    #123793

    oklch(37.7% 0.157 263.7)

  11. Step 950

    950 (this color)

    #12295E

    oklch(29.8% 0.099 263.8)

Export this scale for Tailwind in the Tailwind colors tool

#12295E 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)#0430600.021
Deuteranopia (no green cones)#00295D0.014
Tritanopia (no blue cones)#00363F0.078
Achromatopsia (no color)#2C2C2C0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #12295E

    #12295E

    oklch(29.8% 0.099 263.8)

  • #3C2A00

    #3C2A00

    oklch(29.8% 0.061 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12295E

    #12295E

    oklch(29.8% 0.099 263.8)

  • #003247

    #003247

    oklch(29.8% 0.062 233)

  • #311F59

    #311F59

    oklch(29.7% 0.1 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #12295E

    #12295E

    oklch(29.8% 0.099 263.8)

  • #492000

    #492000

    oklch(29.7% 0.075 53.1)

  • #2D3000

    #2D3000

    oklch(29.6% 0.066 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12295E

    #12295E

    oklch(29.8% 0.099 263.8)

  • #541013

    #541013

    oklch(29.7% 0.099 23.5)

  • #003905

    #003905

    oklch(29.9% 0.097 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12295E

    #12295E

    oklch(29.8% 0.099 263.8)

  • #501031

    #501031

    oklch(29.8% 0.1 353.5)

  • #3C2A00

    #3C2A00

    oklch(29.8% 0.061 83.4)

  • #00362B

    #00362B

    oklch(29.7% 0.056 174.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12295E 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.