#2D377F

Closest named color: Twilight Blue (#0A437A). oklch(37.2% 0.121 273.1), rgb(45, 55, 127).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.96:1
White text10.68:1

Values

HEX#2D377F
RGBrgb(45, 55, 127)
HSLhsl(233, 48%, 34%)
OKLCHoklch(37.2% 0.121 273.1)

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 #2D377F 10.68:1 AAA Lc -98.4 Preferred for body text
Black text on #2D377F 1.96:1 Fails Lc 9.4 Not readable
#2D377F text on white 10.68:1 AAA Lc 94.5 Preferred for body text
#2D377F text on black 1.96:1 Fails Lc -8.1 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

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #ADBDFC

    oklch(80.9% 0.091 273.2)

  5. Step 400

    400

    #8398FB

    oklch(70.6% 0.147 273.1)

  6. Step 500

    500

    #677BF8

    oklch(63.1% 0.186 273.1)

  7. Step 600

    600

    #5160E7

    oklch(55.6% 0.203 273.1)

  8. Step 700

    700

    #424EC9

    oklch(49% 0.189 273)

  9. Step 800

    800

    #3641A2

    oklch(42.6% 0.156 273)

  10. Step 900

    900 (this color)

    #2D377F

    oklch(37.2% 0.121 273.1)

  11. Step 950

    950

    #1B224B

    oklch(27% 0.076 273)

Export this scale for Tailwind in the Tailwind colors tool

#2D377F 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)#0242810.041
Deuteranopia (no green cones)#003B7E0.037
Tritanopia (no blue cones)#0048550.103
Achromatopsia (no color)#3E3E3E0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D377F

    #2D377F

    oklch(37.2% 0.121 273.1)

  • #4E3F00

    #4E3F00

    oklch(37.3% 0.076 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D377F

    #2D377F

    oklch(37.2% 0.121 273.1)

  • #00446C

    #00446C

    oklch(37.2% 0.091 243.4)

  • #4E2B74

    #4E2B74

    oklch(37.2% 0.122 303)

Open the analogous palette in the generator

Split complementary

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

  • #2D377F

    #2D377F

    oklch(37.2% 0.121 273.1)

  • #5F3400

    #5F3400

    oklch(37.1% 0.085 62.5)

  • #374700

    #374700

    oklch(37% 0.091 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D377F

    #2D377F

    oklch(37.2% 0.121 273.1)

  • #731E0D

    #731E0D

    oklch(37.2% 0.122 33.1)

  • #004E26

    #004E26

    oklch(37.2% 0.096 152.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D377F

    #2D377F

    oklch(37.2% 0.121 273.1)

  • #701A3A

    #701A3A

    oklch(37.1% 0.122 2.8)

  • #4E3F00

    #4E3F00

    oklch(37.3% 0.076 93.6)

  • #004B43

    #004B43

    oklch(37.1% 0.066 182.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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