#303D6D

Closest named color: Twilight Blue (#0A437A). oklch(37.4% 0.084 270.5), rgb(48, 61, 109).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.01:1
White text10.42:1

Values

HEX#303D6D
RGBrgb(48, 61, 109)
HSLhsl(227, 39%, 31%)
OKLCHoklch(37.4% 0.084 270.5)

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 #303D6D 10.42:1 AAA Lc -98.1 Preferred for body text
Black text on #303D6D 2.01:1 Fails Lc 9.9 Not readable
#303D6D text on white 10.42:1 AAA Lc 94.1 Preferred for body text
#303D6D text on black 2.01:1 Fails Lc -8.5 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF7

    oklch(93.7% 0.018 269.1)

  3. Step 200

    200

    #D0D9F1

    oklch(88.6% 0.034 269.3)

  4. Step 300

    300

    #B1BFEA

    oklch(80.8% 0.063 270.8)

  5. Step 400

    400

    #899DE0

    oklch(70.7% 0.101 270.9)

  6. Step 500

    500

    #6C84D7

    oklch(63.2% 0.128 270.2)

  7. Step 600

    600

    #556CC5

    oklch(55.7% 0.14 270.4)

  8. Step 700

    700

    #4559AA

    oklch(49% 0.131 270.5)

  9. Step 800

    800

    #39498A

    oklch(42.6% 0.109 270.8)

  10. Step 900

    900 (this color)

    #303D6D

    oklch(37.4% 0.084 270.5)

  11. Step 950

    950

    #1D2540

    oklch(27.1% 0.052 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#303D6D 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)#29426F0.016
Deuteranopia (no green cones)#223D6C0.018
Tritanopia (no blue cones)#12474F0.075
Achromatopsia (no color)#4040400.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #303D6D

    #303D6D

    oklch(37.4% 0.084 270.5)

  • #503E00

    #503E00

    oklch(37.3% 0.076 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303D6D

    #303D6D

    oklch(37.4% 0.084 270.5)

  • #044568

    #044568

    oklch(37.3% 0.084 240.4)

  • #483566

    #483566

    oklch(37.4% 0.084 300.3)

Open the analogous palette in the generator

Split complementary

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

  • #303D6D

    #303D6D

    oklch(37.4% 0.084 270.5)

  • #603404

    #603404

    oklch(37.3% 0.084 60.4)

  • #3B4707

    #3B4707

    oklch(37.4% 0.084 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303D6D

    #303D6D

    oklch(37.4% 0.084 270.5)

  • #662D24

    #662D24

    oklch(37.4% 0.084 30.7)

  • #174D28

    #174D28

    oklch(37.4% 0.084 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303D6D

    #303D6D

    oklch(37.4% 0.084 270.5)

  • #632B3E

    #632B3E

    oklch(37.2% 0.084 0.6)

  • #503E00

    #503E00

    oklch(37.3% 0.076 90.1)

  • #004C42

    #004C42

    oklch(37.3% 0.068 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #303D6D 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.