#0F335D

Closest named color: Prussian Blue (#1D3557). oklch(32% 0.085 254.7), rgb(15, 51, 93).

Aa

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

About this color

#0F335D is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.085 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 12.71:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.71:1

Values

HEX#0F335D
RGBrgb(15, 51, 93)
HSLhsl(212, 72%, 21%)
OKLCHoklch(32% 0.085 254.7)

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 #0F335D 12.71:1 AAA Lc -101.8 Preferred for body text
Black text on #0F335D 1.65:1 Fails Lc 0.0 Not readable
#0F335D text on white 12.71:1 AAA Lc 98.5 Preferred for body text
#0F335D text on black 1.65: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

    #DDEBFE

    oklch(93.5% 0.03 256)

  3. Step 200

    200

    #C1DCFE

    oklch(88.6% 0.055 254.3)

  4. Step 300

    300

    #95C4FF

    oklch(80.9% 0.098 254.5)

  5. Step 400

    400

    #57A2FF

    oklch(70.6% 0.156 255)

  6. Step 500

    500

    #0B87FF

    oklch(63.1% 0.202 254.7)

  7. Step 600

    600

    #0071D9

    oklch(55.6% 0.181 254.6)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #004D98

    oklch(42.6% 0.139 254.8)

  10. Step 900

    900

    #004080

    oklch(37.6% 0.123 254.7)

  11. Step 950

    950 (this color)

    #0F335D

    oklch(32% 0.085 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#0F335D 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)#1E365F0.019
Deuteranopia (no green cones)#102F5C0.012
Tritanopia (no blue cones)#003D430.065
Achromatopsia (no color)#3333330.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F335D

    #0F335D

    oklch(32% 0.085 254.7)

  • #472D00

    #472D00

    oklch(32.1% 0.068 74.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F335D

    #0F335D

    oklch(32% 0.085 254.7)

  • #00394A

    #00394A

    oklch(32% 0.061 224.8)

  • #2F2B5C

    #2F2B5C

    oklch(32.1% 0.085 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #0F335D

    #0F335D

    oklch(32% 0.085 254.7)

  • #552106

    #552106

    oklch(32% 0.086 44.1)

  • #383400

    #383400

    oklch(31.9% 0.068 104.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F335D

    #0F335D

    oklch(32% 0.085 254.7)

  • #561D25

    #561D25

    oklch(32.1% 0.085 14.8)

  • #1E3C07

    #1E3C07

    oklch(32.1% 0.086 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F335D

    #0F335D

    oklch(32% 0.085 254.7)

  • #501E3D

    #501E3D

    oklch(32.1% 0.085 344.8)

  • #472D00

    #472D00

    oklch(32.1% 0.068 74.7)

  • #003D2A

    #003D2A

    oklch(31.9% 0.067 165.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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