#12304D

Closest named color: Prussian Blue (#1D3557). oklch(30.2% 0.064 250.1), rgb(18, 48, 77).

Aa

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

About this color

#12304D is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.064 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 13.49:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.064)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.49:1

Values

HEX#12304D
RGBrgb(18, 48, 77)
HSLhsl(209, 62%, 19%)
OKLCHoklch(30.2% 0.064 250.1)

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 #12304D 13.49:1 AAA Lc -103.0 Preferred for body text
Black text on #12304D 1.55:1 Fails Lc 0.0 Not readable
#12304D text on white 13.49:1 AAA Lc 99.8 Preferred for body text
#12304D text on black 1.55: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF4

    oklch(88.5% 0.041 249.4)

  4. Step 300

    300

    #9CC5F0

    oklch(80.9% 0.075 250)

  5. Step 400

    400

    #63A5E9

    oklch(70.6% 0.121 250.6)

  6. Step 500

    500

    #2F8DE2

    oklch(63.1% 0.154 250)

  7. Step 600

    600

    #0076CB

    oklch(55.7% 0.158 250)

  8. Step 700

    700

    #0063AC

    oklch(49.2% 0.139 250)

  9. Step 800

    800

    #00518E

    oklch(42.8% 0.121 249.9)

  10. Step 900

    900

    #084374

    oklch(37.6% 0.101 250)

  11. Step 950

    950 (this color)

    #12304D

    oklch(30.2% 0.064 250.1)

Export this scale for Tailwind in the Tailwind colors tool

#12304D 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)#23314E0.021
Deuteranopia (no green cones)#1B2C4C0.015
Tritanopia (no blue cones)#00373A0.050
Achromatopsia (no color)#2E2E2E0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #12304D

    #12304D

    oklch(30.2% 0.064 250.1)

  • #422802

    #422802

    oklch(30.2% 0.063 70.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12304D

    #12304D

    oklch(30.2% 0.064 250.1)

  • #003441

    #003441

    oklch(30.1% 0.055 220.3)

  • #292A4E

    #292A4E

    oklch(30.3% 0.064 280.6)

Open the analogous palette in the generator

Split complementary

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

  • #12304D

    #12304D

    oklch(30.2% 0.064 250.1)

  • #492214

    #492214

    oklch(30.3% 0.064 40.1)

  • #362F00

    #362F00

    oklch(30.3% 0.063 100.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12304D

    #12304D

    oklch(30.2% 0.064 250.1)

  • #491F27

    #491F27

    oklch(30.2% 0.064 9.8)

  • #23350F

    #23350F

    oklch(30.3% 0.065 130.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12304D

    #12304D

    oklch(30.2% 0.064 250.1)

  • #432138

    #432138

    oklch(30.3% 0.062 340.6)

  • #422802

    #422802

    oklch(30.2% 0.063 70.8)

  • #063823

    #063823

    oklch(30.3% 0.064 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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