#2F2D7D

Closest named color: Marine Blue (#01386A). oklch(35.2% 0.132 278.3), rgb(47, 45, 125).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.79:1
White text11.71:1

Values

HEX#2F2D7D
RGBrgb(47, 45, 125)
HSLhsl(242, 47%, 33%)
OKLCHoklch(35.2% 0.132 278.3)

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 #2F2D7D 11.71:1 AAA Lc -100.2 Preferred for body text
Black text on #2F2D7D 1.79:1 Fails Lc 7.4 Not readable
#2F2D7D text on white 11.71:1 AAA Lc 96.5 Preferred for body text
#2F2D7D text on black 1.79: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D0D6FE

    oklch(88.4% 0.055 278.5)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7274FF

    oklch(63% 0.202 278.3)

  7. Step 600

    600

    #5E58EF

    oklch(55.7% 0.219 278.3)

  8. Step 700

    700

    #4E46D0

    oklch(49.1% 0.205 278.3)

  9. Step 800

    800

    #3F3BA8

    oklch(42.7% 0.169 278.1)

  10. Step 900

    900 (this color)

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  11. Step 950

    950

    #1F204E

    oklch(27.2% 0.083 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F2D7D 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)#003B800.050
Deuteranopia (no green cones)#00357B0.046
Tritanopia (no blue cones)#0041500.113
Achromatopsia (no color)#3838380.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2D7D

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2D7D

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  • #003D6A

    #003D6A

    oklch(35.2% 0.096 248.4)

  • #4E206E

    #4E206E

    oklch(35.2% 0.131 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F2D7D

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  • #553200

    #553200

    oklch(35.2% 0.077 68.1)

  • #2C4300

    #2C4300

    oklch(35% 0.092 128.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2D7D

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  • #691D00

    #691D00

    oklch(35.1% 0.114 38.4)

  • #00472A

    #00472A

    oklch(35.1% 0.081 158.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2D7D

    #2F2D7D

    oklch(35.2% 0.132 278.3)

  • #6E0B2D

    #6E0B2D

    oklch(35.2% 0.131 8.5)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

  • #004541

    #004541

    oklch(35.2% 0.061 188.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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