#0A1F4D

Closest named color: Navy Blue (#001146). oklch(25.5% 0.089 263.1), rgb(10, 31, 77).

Aa

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

About this color

#0A1F4D is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.089 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.046 away. White text reads best on it, at 15.95:1.

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.31:1
White text15.95:1

Values

HEX#0A1F4D
RGBrgb(10, 31, 77)
HSLhsl(221, 77%, 17%)
OKLCHoklch(25.5% 0.089 263.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 #0A1F4D 15.95:1 AAA Lc -105.2 Preferred for body text
Black text on #0A1F4D 1.31:1 Fails Lc 0.0 Not readable
#0A1F4D text on white 15.95:1 AAA Lc 102.6 Preferred for body text
#0A1F4D text on black 1.31: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  5. Step 400

    400

    #6D9EFF

    oklch(70.8% 0.152 262.8)

  6. Step 500

    500

    #4681FF

    oklch(63.1% 0.198 263.1)

  7. Step 600

    600

    #2062FA

    oklch(55.6% 0.236 263.2)

  8. Step 700

    700

    #1450DA

    oklch(49.2% 0.219 263.1)

  9. Step 800

    800

    #1343B0

    oklch(42.8% 0.181 263.1)

  10. Step 900

    900

    #163A8B

    oklch(37.7% 0.141 263.2)

  11. Step 950

    950 (this color)

    #0A1F4D

    oklch(25.5% 0.089 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#0A1F4D 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)#00254F0.018
Deuteranopia (no green cones)#001F4C0.010
Tritanopia (no blue cones)#002A320.069
Achromatopsia (no color)#2222220.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A1F4D

    #0A1F4D

    oklch(25.5% 0.089 263.1)

  • #2F2000

    #2F2000

    oklch(25.5% 0.052 83)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A1F4D

    #0A1F4D

    oklch(25.5% 0.089 263.1)

  • #002738

    #002738

    oklch(25.6% 0.053 232.3)

  • #261749

    #261749

    oklch(25.6% 0.089 292.9)

Open the analogous palette in the generator

Split complementary

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

  • #0A1F4D

    #0A1F4D

    oklch(25.5% 0.089 263.1)

  • #3A1800

    #3A1800

    oklch(25.5% 0.065 53)

  • #232500

    #232500

    oklch(25.4% 0.057 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A1F4D

    #0A1F4D

    oklch(25.5% 0.089 263.1)

  • #44080C

    #44080C

    oklch(25.4% 0.089 23.2)

  • #002C01

    #002C01

    oklch(25.4% 0.085 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A1F4D

    #0A1F4D

    oklch(25.5% 0.089 263.1)

  • #400926

    #400926

    oklch(25.4% 0.089 353.3)

  • #2F2000

    #2F2000

    oklch(25.5% 0.052 83)

  • #002A21

    #002A21

    oklch(25.4% 0.048 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0A1F4D 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.