#2A3176

Closest named color: Marine Blue (#01386A). oklch(35% 0.117 274.3), rgb(42, 49, 118).

Aa

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

About this color

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

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

Values

HEX#2A3176
RGBrgb(42, 49, 118)
HSLhsl(234, 48%, 31%)
OKLCHoklch(35% 0.117 274.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 #2A3176 11.67:1 AAA Lc -100.2 Preferred for body text
Black text on #2A3176 1.79:1 Fails Lc 7.4 Not readable
#2A3176 text on white 11.67:1 AAA Lc 96.5 Preferred for body text
#2A3176 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CFD7FA

    oklch(88.4% 0.049 275.2)

  4. Step 300

    300

    #AFBDFA

    oklch(80.9% 0.088 274.3)

  5. Step 400

    400

    #8698F7

    oklch(70.6% 0.14 274.1)

  6. Step 500

    500

    #6B7BF4

    oklch(63.1% 0.18 274.4)

  7. Step 600

    600

    #5561E3

    oklch(55.7% 0.195 274.2)

  8. Step 700

    700

    #464FC5

    oklch(49.1% 0.181 274.3)

  9. Step 800

    800

    #39419F

    oklch(42.6% 0.151 274.4)

  10. Step 900

    900 (this color)

    #2A3176

    oklch(35% 0.117 274.3)

  11. Step 950

    950

    #1C224A

    oklch(27% 0.074 274)

Export this scale for Tailwind in the Tailwind colors tool

#2A3176 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)#003C780.041
Deuteranopia (no green cones)#0035750.037
Tritanopia (no blue cones)#00414E0.099
Achromatopsia (no color)#3838380.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3176

    #2A3176

    oklch(35% 0.117 274.3)

  • #473900

    #473900

    oklch(34.9% 0.072 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3176

    #2A3176

    oklch(35% 0.117 274.3)

  • #003E64

    #003E64

    oklch(35.1% 0.087 244)

  • #48266B

    #48266B

    oklch(35% 0.117 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A3176

    #2A3176

    oklch(35% 0.117 274.3)

  • #563000

    #563000

    oklch(35% 0.079 64.5)

  • #314200

    #314200

    oklch(35.1% 0.088 124.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3176

    #2A3176

    oklch(35% 0.117 274.3)

  • #6A1A06

    #6A1A06

    oklch(35% 0.117 34.5)

  • #004724

    #004724

    oklch(34.9% 0.088 154.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3176

    #2A3176

    oklch(35% 0.117 274.3)

  • #681633

    #681633

    oklch(35% 0.117 4.4)

  • #473900

    #473900

    oklch(34.9% 0.072 93.4)

  • #00453E

    #00453E

    oklch(35.1% 0.062 183.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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