#001F45

Closest named color: Navy Blue (#001146). oklch(24.3% 0.081 255.2), rgb(0, 31, 69).

Aa

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

About this color

#001F45 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.081 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.041 away. White text reads best on it, at 16.38:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.28:1
White text16.38:1

Values

HEX#001F45
RGBrgb(0, 31, 69)
HSLhsl(213, 100%, 14%)
OKLCHoklch(24.3% 0.081 255.2)

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 #001F45 16.38:1 AAA Lc -105.5 Preferred for body text
Black text on #001F45 1.28:1 Fails Lc 0.0 Not readable
#001F45 text on white 16.38:1 AAA Lc 103.0 Preferred for body text
#001F45 text on black 1.28: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C2DBFC

    oklch(88.4% 0.053 255.4)

  4. Step 300

    300

    #97C4FE

    oklch(81% 0.096 255)

  5. Step 400

    400

    #5AA2FD

    oklch(70.6% 0.152 255.3)

  6. Step 500

    500

    #1D87FB

    oklch(63% 0.195 255.2)

  7. Step 600

    600

    #0070DB

    oklch(55.5% 0.184 255.3)

  8. Step 700

    700

    #005EBA

    oklch(49.1% 0.163 255.3)

  9. Step 800

    800

    #004D9A

    oklch(42.7% 0.142 255.2)

  10. Step 900

    900

    #004081

    oklch(37.7% 0.124 254.9)

  11. Step 950

    950 (this color)

    #001F45

    oklch(24.3% 0.081 255.2)

Export this scale for Tailwind in the Tailwind colors tool

#001F45 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)#0723460.016
Deuteranopia (no green cones)#001D440.007
Tritanopia (no blue cones)#00282E0.060
Achromatopsia (no color)#2020200.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #001F45

    #001F45

    oklch(24.3% 0.081 255.2)

  • #2E1C00

    #2E1C00

    oklch(24.4% 0.051 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #001F45

    #001F45

    oklch(24.3% 0.081 255.2)

  • #002431

    #002431

    oklch(24.3% 0.047 226.9)

  • #1E1744

    #1E1744

    oklch(24.3% 0.081 285.7)

Open the analogous palette in the generator

Split complementary

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

  • #001F45

    #001F45

    oklch(24.3% 0.081 255.2)

  • #391200

    #391200

    oklch(24.2% 0.069 45.2)

  • #242100

    #242100

    oklch(24.3% 0.052 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #001F45

    #001F45

    oklch(24.3% 0.081 255.2)

  • #3E0913

    #3E0913

    oklch(24.3% 0.081 15.2)

  • #0F2700

    #0F2700

    oklch(24.3% 0.071 135.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #001F45

    #001F45

    oklch(24.3% 0.081 255.2)

  • #390B29

    #390B29

    oklch(24.4% 0.081 344.8)

  • #2E1C00

    #2E1C00

    oklch(24.4% 0.051 75.5)

  • #00271A

    #00271A

    oklch(24.2% 0.05 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #001F45 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.