#2D3976

Closest named color: Twilight Blue (#0A437A). oklch(36.9% 0.105 272), rgb(45, 57, 118).

Aa

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

About this color

#2D3976 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.105 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.038 away. White text reads best on it, at 10.72:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.95:1
White text10.72:1

Values

HEX#2D3976
RGBrgb(45, 57, 118)
HSLhsl(230, 45%, 32%)
OKLCHoklch(36.9% 0.105 272)

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 #2D3976 10.72:1 AAA Lc -98.6 Preferred for body text
Black text on #2D3976 1.95:1 Fails Lc 9.3 Not readable
#2D3976 text on white 10.72:1 AAA Lc 94.6 Preferred for body text
#2D3976 text on black 1.95:1 Fails Lc -8.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

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CFD8F7

    oklch(88.5% 0.044 272.7)

  4. Step 300

    300

    #AEBEF4

    oklch(80.8% 0.079 271.7)

  5. Step 400

    400

    #859BEF

    oklch(70.7% 0.126 271.7)

  6. Step 500

    500

    #697FE9

    oklch(63% 0.16 272.2)

  7. Step 600

    600

    #5266D8

    oklch(55.6% 0.175 272)

  8. Step 700

    700

    #4354BB

    oklch(49.1% 0.162 272)

  9. Step 800

    800

    #374597

    oklch(42.6% 0.134 272.2)

  10. Step 900

    900 (this color)

    #2D3976

    oklch(36.9% 0.105 272)

  11. Step 950

    950

    #1B2347

    oklch(27% 0.068 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D3976 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)#1941780.028
Deuteranopia (no green cones)#0C3B750.032
Tritanopia (no blue cones)#0047520.091
Achromatopsia (no color)#3E3E3E0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3976

    #2D3976

    oklch(36.9% 0.105 272)

  • #4E3E00

    #4E3E00

    oklch(37% 0.076 92.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3976

    #2D3976

    oklch(36.9% 0.105 272)

  • #004469

    #004469

    oklch(37% 0.087 241.4)

  • #4A2F6D

    #4A2F6D

    oklch(36.9% 0.105 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #2D3976

    #2D3976

    oklch(36.9% 0.105 272)

  • #5E3300

    #5E3300

    oklch(36.8% 0.085 62)

  • #384600

    #384600

    oklch(36.8% 0.089 121.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3976

    #2D3976

    oklch(36.9% 0.105 272)

  • #6C2518

    #6C2518

    oklch(36.9% 0.104 32.5)

  • #004D24

    #004D24

    oklch(36.8% 0.096 152.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3976

    #2D3976

    oklch(36.9% 0.105 272)

  • #69223B

    #69223B

    oklch(36.8% 0.104 1.9)

  • #4E3E00

    #4E3E00

    oklch(37% 0.076 92.3)

  • #004B42

    #004B42

    oklch(37% 0.067 181.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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