#12284C

Closest named color: Oxford Blue (#1B263B). oklch(28% 0.072 259.8), rgb(18, 40, 76).

Aa

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

About this color

#12284C is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.072 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 14.64:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.64:1

Values

HEX#12284C
RGBrgb(18, 40, 76)
HSLhsl(217, 62%, 18%)
OKLCHoklch(28% 0.072 259.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 #12284C 14.64:1 AAA Lc -104.2 Preferred for body text
Black text on #12284C 1.43:1 Fails Lc 0.0 Not readable
#12284C text on white 14.64:1 AAA Lc 101.3 Preferred for body text
#12284C text on black 1.43: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C7DAF9

    oklch(88.4% 0.048 260.2)

  4. Step 300

    300

    #A0C2F8

    oklch(80.9% 0.085 259.5)

  5. Step 400

    400

    #6CA0F5

    oklch(70.6% 0.137 259.8)

  6. Step 500

    500

    #4486F1

    oklch(63.1% 0.174 259.6)

  7. Step 600

    600

    #246CE0

    oklch(55.5% 0.191 259.9)

  8. Step 700

    700

    #165AC2

    oklch(49.1% 0.176 259.6)

  9. Step 800

    800

    #164A9D

    oklch(42.7% 0.146 259.8)

  10. Step 900

    900

    #193F7D

    oklch(37.8% 0.114 259.8)

  11. Step 950

    950 (this color)

    #12284C

    oklch(28% 0.072 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#12284C 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)#172B4D0.012
Deuteranopia (no green cones)#0D264B0.009
Tritanopia (no blue cones)#0030360.057
Achromatopsia (no color)#2828280.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #12284C

    #12284C

    oklch(28% 0.072 259.8)

  • #382500

    #382500

    oklch(28.1% 0.058 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12284C

    #12284C

    oklch(28% 0.072 259.8)

  • #002E3F

    #002E3F

    oklch(28.2% 0.056 229.1)

  • #29214A

    #29214A

    oklch(28% 0.073 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #12284C

    #12284C

    oklch(28% 0.072 259.8)

  • #441C02

    #441C02

    oklch(28.1% 0.072 49.6)

  • #2B2B00

    #2B2B00

    oklch(28% 0.061 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12284C

    #12284C

    oklch(28% 0.072 259.8)

  • #46171A

    #46171A

    oklch(28% 0.072 19.3)

  • #13310B

    #13310B

    oklch(28% 0.072 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12284C

    #12284C

    oklch(28% 0.072 259.8)

  • #42182E

    #42182E

    oklch(28.1% 0.071 350.1)

  • #382500

    #382500

    oklch(28.1% 0.058 79.5)

  • #003225

    #003225

    oklch(28.2% 0.056 169.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12284C 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.