#0F3161

Closest named color: Marine (#042E60). oklch(31.8% 0.094 257.9), rgb(15, 49, 97).

Aa

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

About this color

#0F3161 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.094 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.013 away. White text reads best on it, at 12.86:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.63:1
White text12.86:1

Values

HEX#0F3161
RGBrgb(15, 49, 97)
HSLhsl(215, 73%, 22%)
OKLCHoklch(31.8% 0.094 257.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 #0F3161 12.86:1 AAA Lc -102.0 Preferred for body text
Black text on #0F3161 1.63:1 Fails Lc 0.0 Not readable
#0F3161 text on white 12.86:1 AAA Lc 98.7 Preferred for body text
#0F3161 text on black 1.63: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

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DDEBFF

    oklch(93.6% 0.031 257.2)

  3. Step 200

    200

    #C2DBFF

    oklch(88.5% 0.057 257.5)

  4. Step 300

    300

    #9AC3FF

    oklch(81% 0.096 257.8)

  5. Step 400

    400

    #60A1FF

    oklch(70.8% 0.154 257.7)

  6. Step 500

    500

    #2C85FF

    oklch(63.1% 0.2 257.8)

  7. Step 600

    600

    #006CE7

    oklch(55.5% 0.204 257.8)

  8. Step 700

    700

    #005BC4

    oklch(49.2% 0.18 257.7)

  9. Step 800

    800

    #004AA2

    oklch(42.7% 0.156 257.7)

  10. Step 900

    900

    #003D89

    oklch(37.7% 0.139 257.9)

  11. Step 950

    950 (this color)

    #0F3161

    oklch(31.8% 0.094 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#0F3161 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)#1736630.018
Deuteranopia (no green cones)#032E600.014
Tritanopia (no blue cones)#003C440.071
Achromatopsia (no color)#3232320.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F3161

    #0F3161

    oklch(31.8% 0.094 257.9)

  • #452D00

    #452D00

    oklch(31.8% 0.067 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F3161

    #0F3161

    oklch(31.8% 0.094 257.9)

  • #00384B

    #00384B

    oklch(31.8% 0.062 228)

  • #31285F

    #31285F

    oklch(31.9% 0.094 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #0F3161

    #0F3161

    oklch(31.8% 0.094 257.9)

  • #542100

    #542100

    oklch(31.8% 0.087 47.9)

  • #363500

    #363500

    oklch(32% 0.069 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F3161

    #0F3161

    oklch(31.8% 0.094 257.9)

  • #591920

    #591920

    oklch(32% 0.094 18)

  • #163D04

    #163D04

    oklch(31.9% 0.094 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F3161

    #0F3161

    oklch(31.8% 0.094 257.9)

  • #531A3B

    #531A3B

    oklch(31.9% 0.094 347.9)

  • #452D00

    #452D00

    oklch(31.8% 0.067 77)

  • #003D2C

    #003D2C

    oklch(32% 0.065 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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