#012A4A

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.073 247.7), rgb(1, 42, 74).

Aa

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

About this color

#012A4A is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.073 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.035 away. White text reads best on it, at 14.67:1.

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

Values

HEX#012A4A
RGBrgb(1, 42, 74)
HSLhsl(206, 97%, 15%)
OKLCHoklch(27.8% 0.073 247.7)

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 #012A4A 14.67:1 AAA Lc -104.1 Preferred for body text
Black text on #012A4A 1.43:1 Fails Lc 0.0 Not readable
#012A4A text on white 14.67:1 AAA Lc 101.1 Preferred for body text
#012A4A 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DDECFA

    oklch(93.6% 0.025 246.2)

  3. Step 200

    200

    #C1DDF8

    oklch(88.6% 0.048 247.4)

  4. Step 300

    300

    #94C6F6

    oklch(80.9% 0.086 247.9)

  5. Step 400

    400

    #51A7F2

    oklch(70.8% 0.138 247.5)

  6. Step 500

    500

    #008EE9

    oklch(63.1% 0.169 247.8)

  7. Step 600

    600

    #0077C5

    oklch(55.6% 0.149 247.9)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #00528A

    oklch(42.8% 0.115 247.8)

  10. Step 900

    900

    #004474

    oklch(37.7% 0.101 247.8)

  11. Step 950

    950 (this color)

    #012A4A

    oklch(27.8% 0.073 247.7)

Export this scale for Tailwind in the Tailwind colors tool

#012A4A 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)#1A2C4B0.025
Deuteranopia (no green cones)#0E25490.017
Tritanopia (no blue cones)#0032360.052
Achromatopsia (no color)#2828280.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #012A4A

    #012A4A

    oklch(27.8% 0.073 247.7)

  • #3C2100

    #3C2100

    oklch(27.7% 0.062 66.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012A4A

    #012A4A

    oklch(27.8% 0.073 247.7)

  • #002E38

    #002E38

    oklch(27.8% 0.05 216.8)

  • #21234B

    #21234B

    oklch(27.8% 0.073 278.4)

Open the analogous palette in the generator

Split complementary

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

  • #012A4A

    #012A4A

    oklch(27.8% 0.073 247.7)

  • #45190A

    #45190A

    oklch(27.8% 0.072 38.7)

  • #302800

    #302800

    oklch(27.7% 0.057 97.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012A4A

    #012A4A

    oklch(27.8% 0.073 247.7)

  • #451622

    #451622

    oklch(27.9% 0.073 7.4)

  • #1E2E00

    #1E2E00

    oklch(27.6% 0.072 127.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012A4A

    #012A4A

    oklch(27.8% 0.073 247.7)

  • #3E1835

    #3E1835

    oklch(27.8% 0.073 337.3)

  • #3C2100

    #3C2100

    oklch(27.7% 0.062 66.5)

  • #00321B

    #00321B

    oklch(27.9% 0.066 157.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #012A4A 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.