#2F3277

Closest named color: Marine Blue (#01386A). oklch(35.6% 0.116 276.9), rgb(47, 50, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.84:1
White text11.39:1

Values

HEX#2F3277
RGBrgb(47, 50, 119)
HSLhsl(238, 43%, 33%)
OKLCHoklch(35.6% 0.116 276.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 #2F3277 11.39:1 AAA Lc -99.7 Preferred for body text
Black text on #2F3277 1.84:1 Fails Lc 7.9 Not readable
#2F3277 text on white 11.39:1 AAA Lc 96.0 Preferred for body text
#2F3277 text on black 1.84: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 900.

  1. Step 50

    50

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B2BCF9

    oklch(80.9% 0.087 277.1)

  5. Step 400

    400

    #8B97F6

    oklch(70.7% 0.139 276.8)

  6. Step 500

    500

    #717AF2

    oklch(63.2% 0.177 276.8)

  7. Step 600

    600

    #5C5FE1

    oklch(55.6% 0.193 277.1)

  8. Step 700

    700

    #4C4DC3

    oklch(49% 0.18 277.1)

  9. Step 800

    800

    #3E409E

    oklch(42.7% 0.149 277.1)

  10. Step 900

    900 (this color)

    #2F3277

    oklch(35.6% 0.116 276.9)

  11. Step 950

    950

    #1E2149

    oklch(26.9% 0.073 277.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F3277 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)#003D790.046
Deuteranopia (no green cones)#0037760.043
Tritanopia (no blue cones)#01424F0.101
Achromatopsia (no color)#3A3A3A0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F3277

    #2F3277

    oklch(35.6% 0.116 276.9)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F3277

    #2F3277

    oklch(35.6% 0.116 276.9)

  • #003F6A

    #003F6A

    oklch(35.7% 0.093 246.7)

  • #4C276A

    #4C276A

    oklch(35.6% 0.115 307)

Open the analogous palette in the generator

Split complementary

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

  • #2F3277

    #2F3277

    oklch(35.6% 0.116 276.9)

  • #573200

    #573200

    oklch(35.5% 0.079 66.3)

  • #2F4400

    #2F4400

    oklch(35.6% 0.092 126.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F3277

    #2F3277

    oklch(35.6% 0.116 276.9)

  • #6C1D03

    #6C1D03

    oklch(35.7% 0.117 36.8)

  • #004929

    #004929

    oklch(35.7% 0.085 156.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F3277

    #2F3277

    oklch(35.6% 0.116 276.9)

  • #6A1832

    #6A1832

    oklch(35.6% 0.116 6.5)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

  • #004642

    #004642

    oklch(35.5% 0.062 188.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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