#2F396B

Closest named color: Marine Blue (#01386A). oklch(36.2% 0.087 272.8), rgb(47, 57, 107).

Aa

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

About this color

#2F396B is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.087 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.043 away. White text reads best on it, at 10.94:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.91:1
White text10.94:1

Values

HEX#2F396B
RGBrgb(47, 57, 107)
HSLhsl(230, 39%, 30%)
OKLCHoklch(36.2% 0.087 272.8)

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 #2F396B 10.94:1 AAA Lc -99.1 Preferred for body text
Black text on #2F396B 1.91:1 Fails Lc 8.7 Not readable
#2F396B text on white 10.94:1 AAA Lc 95.2 Preferred for body text
#2F396B text on black 1.91:1 Fails Lc -7.4 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 900.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D1D8F2

    oklch(88.5% 0.037 273.7)

  4. Step 300

    300

    #B2BFEC

    oklch(81% 0.065 272.3)

  5. Step 400

    400

    #8B9CE2

    oklch(70.7% 0.105 273)

  6. Step 500

    500

    #6F82DA

    oklch(63.1% 0.134 272.8)

  7. Step 600

    600

    #586AC7

    oklch(55.6% 0.145 272.6)

  8. Step 700

    700

    #4958AC

    oklch(49.2% 0.134 272.9)

  9. Step 800

    800

    #3B488B

    oklch(42.6% 0.111 272.6)

  10. Step 900

    900 (this color)

    #2F396B

    oklch(36.2% 0.087 272.8)

  11. Step 950

    950

    #1E2441

    oklch(27% 0.055 273.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F396B 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)#243F6D0.021
Deuteranopia (no green cones)#1D3A6A0.022
Tritanopia (no blue cones)#12444C0.078
Achromatopsia (no color)#3C3C3C0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F396B

    #2F396B

    oklch(36.2% 0.087 272.8)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F396B

    #2F396B

    oklch(36.2% 0.087 272.8)

  • #014267

    #014267

    oklch(36.3% 0.086 242.3)

  • #473163

    #473163

    oklch(36.3% 0.087 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #2F396B

    #2F396B

    oklch(36.2% 0.087 272.8)

  • #5C3200

    #5C3200

    oklch(36.3% 0.083 62.3)

  • #354502

    #354502

    oklch(36.3% 0.088 123.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F396B

    #2F396B

    oklch(36.2% 0.087 272.8)

  • #632A1E

    #632A1E

    oklch(36.3% 0.086 33.4)

  • #0B4A26

    #0B4A26

    oklch(36.1% 0.087 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F396B

    #2F396B

    oklch(36.2% 0.087 272.8)

  • #622739

    #622739

    oklch(36.3% 0.088 3.4)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

  • #004941

    #004941

    oklch(36.4% 0.065 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F396B 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.