#0A1F52

Closest named color: Marine (#042E60). oklch(26% 0.097 263.9), rgb(10, 31, 82).

Aa

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

About this color

#0A1F52 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.097 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.049 away. White text reads best on it, at 15.78:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.33:1
White text15.78:1

Values

HEX#0A1F52
RGBrgb(10, 31, 82)
HSLhsl(223, 78%, 18%)
OKLCHoklch(26% 0.097 263.9)

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 #0A1F52 15.78:1 AAA Lc -105.1 Preferred for body text
Black text on #0A1F52 1.33:1 Fails Lc 0.0 Not readable
#0A1F52 text on white 15.78:1 AAA Lc 102.4 Preferred for body text
#0A1F52 text on black 1.33: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

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #225FFF

    oklch(55.5% 0.245 263.9)

  8. Step 700

    700

    #124AE4

    oklch(49% 0.238 263.9)

  9. Step 800

    800

    #113FB8

    oklch(42.8% 0.196 263.8)

  10. Step 900

    900

    #143891

    oklch(37.7% 0.153 263.8)

  11. Step 950

    950 (this color)

    #0A1F52

    oklch(26% 0.097 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#0A1F52 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)#0026540.021
Deuteranopia (no green cones)#001F510.010
Tritanopia (no blue cones)#002C350.075
Achromatopsia (no color)#2323230.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A1F52

    #0A1F52

    oklch(26% 0.097 263.9)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A1F52

    #0A1F52

    oklch(26% 0.097 263.9)

  • #00283A

    #00283A

    oklch(26.1% 0.054 233.4)

  • #28164D

    #28164D

    oklch(26% 0.096 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #0A1F52

    #0A1F52

    oklch(26% 0.097 263.9)

  • #3B1900

    #3B1900

    oklch(25.9% 0.065 53.7)

  • #242700

    #242700

    oklch(26.1% 0.059 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A1F52

    #0A1F52

    oklch(26% 0.097 263.9)

  • #48050A

    #48050A

    oklch(25.9% 0.097 23.8)

  • #002E03

    #002E03

    oklch(26.1% 0.085 143.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A1F52

    #0A1F52

    oklch(26% 0.097 263.9)

  • #440627

    #440627

    oklch(26% 0.097 354.1)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

  • #002C22

    #002C22

    oklch(26.1% 0.05 173.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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