#0F3147

Closest named color: Midnight Green (#073B4C). oklch(30% 0.056 240.7), rgb(15, 49, 71).

Aa

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

About this color

#0F3147 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.056 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.033 away. White text reads best on it, at 13.54:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.056)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.55:1
White text13.54:1

Values

HEX#0F3147
RGBrgb(15, 49, 71)
HSLhsl(204, 65%, 17%)
OKLCHoklch(30% 0.056 240.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 #0F3147 13.54:1 AAA Lc -103.0 Preferred for body text
Black text on #0F3147 1.55:1 Fails Lc 0.0 Not readable
#0F3147 text on white 13.54:1 AAA Lc 99.8 Preferred for body text
#0F3147 text on black 1.55: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #9BC7E8

    oklch(81% 0.066 241)

  5. Step 400

    400

    #5FA9DC

    oklch(70.7% 0.105 240.6)

  6. Step 500

    500

    #2392D3

    oklch(63.1% 0.135 240.9)

  7. Step 600

    600

    #007BB7

    oklch(55.7% 0.129 240.7)

  8. Step 700

    700

    #00679B

    oklch(49.1% 0.115 241)

  9. Step 800

    800

    #005480

    oklch(42.6% 0.1 241.3)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950 (this color)

    #0F3147

    oklch(30% 0.056 240.7)

Export this scale for Tailwind in the Tailwind colors tool

#0F3147 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)#2731480.029
Deuteranopia (no green cones)#1F2C470.022
Tritanopia (no blue cones)#0036390.037
Achromatopsia (no color)#2E2E2E0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F3147

    #0F3147

    oklch(30% 0.056 240.7)

  • #42270D

    #42270D

    oklch(30.1% 0.056 61.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F3147

    #0F3147

    oklch(30% 0.056 240.7)

  • #00353C

    #00353C

    oklch(30.1% 0.052 209)

  • #232C4A

    #232C4A

    oklch(30% 0.056 270.1)

Open the analogous palette in the generator

Split complementary

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

  • #0F3147

    #0F3147

    oklch(30% 0.056 240.7)

  • #46221C

    #46221C

    oklch(30% 0.057 30.6)

  • #382C06

    #382C06

    oklch(29.9% 0.055 90.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F3147

    #0F3147

    oklch(30% 0.056 240.7)

  • #44212C

    #44212C

    oklch(30% 0.055 0.9)

  • #2A320F

    #2A320F

    oklch(30.1% 0.056 120.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F3147

    #0F3147

    oklch(30% 0.056 240.7)

  • #3E233B

    #3E233B

    oklch(30.1% 0.056 330.9)

  • #42270D

    #42270D

    oklch(30.1% 0.056 61.6)

  • #16361F

    #16361F

    oklch(30.1% 0.056 150.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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