#013172

Closest named color: Marine Blue (#01386A). oklch(32.9% 0.122 258.4), rgb(1, 49, 114).

Aa

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

About this color

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

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

Values

HEX#013172
RGBrgb(1, 49, 114)
HSLhsl(215, 98%, 23%)
OKLCHoklch(32.9% 0.122 258.4)

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 #013172 12.47:1 AAA Lc -101.2 Preferred for body text
Black text on #013172 1.68:1 Fails Lc 0.0 Not readable
#013172 text on white 12.47:1 AAA Lc 97.7 Preferred for body text
#013172 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FC

    oklch(81% 0.091 257.8)

  5. Step 400

    400

    #65A1FB

    oklch(70.8% 0.147 258.3)

  6. Step 500

    500

    #3886F8

    oklch(63.2% 0.187 258.3)

  7. Step 600

    600

    #0A6CE7

    oklch(55.6% 0.203 258.3)

  8. Step 700

    700

    #005AC6

    oklch(49.1% 0.184 258.2)

  9. Step 800

    800

    #044AA2

    oklch(42.8% 0.156 258.2)

  10. Step 900

    900 (this color)

    #013172

    oklch(32.9% 0.122 258.4)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#013172 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)#0039740.023
Deuteranopia (no green cones)#002F710.006
Tritanopia (no blue cones)#00414C0.092
Achromatopsia (no color)#3434340.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #013172

    #013172

    oklch(32.9% 0.122 258.4)

  • #483000

    #483000

    oklch(32.9% 0.069 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #013172

    #013172

    oklch(32.9% 0.122 258.4)

  • #003B4F

    #003B4F

    oklch(32.9% 0.064 228.2)

  • #35246F

    #35246F

    oklch(32.9% 0.123 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #013172

    #013172

    oklch(32.9% 0.122 258.4)

  • #582300

    #582300

    oklch(32.8% 0.089 48)

  • #393700

    #393700

    oklch(32.8% 0.071 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #013172

    #013172

    oklch(32.9% 0.122 258.4)

  • #650A1B

    #650A1B

    oklch(32.8% 0.122 18.5)

  • #144000

    #144000

    oklch(32.8% 0.102 138.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #013172

    #013172

    oklch(32.9% 0.122 258.4)

  • #5E0E3F

    #5E0E3F

    oklch(32.9% 0.122 348.7)

  • #483000

    #483000

    oklch(32.9% 0.069 78.4)

  • #00402F

    #00402F

    oklch(33% 0.066 168.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #013172 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.